#3A12B8

#3a12b8 ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#3a12b8 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 22.75% red, 7.06% green and 72.16% blue; printed in CMYK it uses 68.48% cyan, 90.22% magenta, 0% yellow and 27.84% black. Its hue angle is 254.46°, with 82.18% saturation and 39.61% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 10.72:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.38.

Description generated from the measured properties of this color.

Conversions of #3a12b8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0479

Readable text 10.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #3c3181 ≈ 0.001% of males
Protanopia #0044bc ≈ 1.01% of males
Deuteranopia #0037b5 ≈ 1.27% of males
Tritanopia #004c6c ≈ 0.0001% of males
Protanomaly #0036bb ≈ 1.08% of males
Deuteranomaly #002cb6 ≈ 4.63% of males
Tritanomaly #003d91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3a12b8 {
  color: #3a12b8;
}
Background
.bg-3a12b8 {
  background-color: #3a12b8;
  color: #ffffff;
}
Border
.border-3a12b8 {
  border: 2px solid #3a12b8;
}
CSS variables
:root {
  --color-primary: #3a12b8;
  --color-primary-rgb: 58 18 184;
  --color-primary-hsl: 254 82% 40%;
}
Gradient
.gradient-3a12b8 {
  background: linear-gradient(135deg, #3a12b8, #8d12b8);
}
Colored shadow
.shadow-3a12b8 {
  box-shadow: 0 8px 24px rgb(58 18 184 / 0.35);
}

Medium Blue
#3a12b8  rgb(58, 18, 184)  hsl(254, 82%, 40%)  Medium Blue
#90b812  rgb(144, 184, 18)  hsl(74, 82%, 40%)  Apple Green
#b83a12  rgb(184, 58, 18)  hsl(14, 82%, 40%)  Rust
#12b83a  rgb(18, 184, 58)  hsl(134, 82%, 40%)  Kelly Green