#2F38AE#2F38AE
#2F38AE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.184 H 272.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F38AE |
|---|---|
| RGB | rgb(47, 56, 174) |
| HSL | hsl(236, 57%, 43%) |
| HSV | hsv(236, 73%, 68%) |
| CMYK | cmyk(73%, 67.8%, 0%, 31.8%) |
| CIE-LAB | lab(30.61, 36.88, -63.77) |
| CIE-LCH | lch(30.61, 73.66, 300.05°) |
| OKLab | oklab(41.69% 0.0063 -0.1844) |
| OKLCH | oklch(41.69% 0.184 272) |
| XYZ | xyz(10.2239, 6.4876, 40.7496) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.51
Blue Blue
#2242C7
ΔE00 4.36
Ocean Blue
#4F42B5
ΔE00 4.79
Blueberry
#464196
ΔE00 5.43
Blue With A Hint Of Purple
#533CC6
ΔE00 5.91
Blurple
#5539CC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F38AE #AEA52F
analogous
#2F77AE #2F38AE #652FAE
triadic
#2F38AE #AE2F38 #38AE2F
tetradic
#2F38AE #AE2F77 #AEA52F #2FAE65
square
#2F38AE #AE2F77 #AEA52F #2FAE65
split-complementary
#2F38AE #AE652F #77AE2F
monochromatic
#15194E #22287E #2F38AE #4C55CF #7C83DC
Accessibility & contrast
On white
9.14
#2F38AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F38AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F38AE
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F38AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F38AE | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f38ae; /* rgb */ color: rgb(47, 56, 174); /* oklch */ color: oklch(41.7% 0.184 272.0);
Tailwind
colors: {
custom: {
50: '#7b6fc7',
500: '#2f38ae',
950: '#000000',
},
}SCSS
$custom: #2f38ae; $custom-light: #7b6fc7; $custom-dark: #000000;
JSON
{
"hex": "#2f38ae",
"rgb": {
"r": 47,
"g": 56,
"b": 174
},
"hsl": {
"h": 235.748,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.41689,
"c": 0.18449,
"h": 272
},
"luminance": 0.06489
}Semantic roles & 50–950 ramp
primary
#2F38AE
secondary
#C4BE75
accent
#D647E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82