#2F39AE#2F39AE
#2F39AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.183 H 271.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F39AE |
|---|---|
| RGB | rgb(47, 57, 174) |
| HSL | hsl(235, 57%, 43%) |
| HSV | hsv(235, 73%, 68%) |
| CMYK | cmyk(73%, 67.2%, 0%, 31.8%) |
| CIE-LAB | lab(30.84, 36.26, -63.38) |
| CIE-LCH | lch(30.84, 73.02, 299.77°) |
| OKLab | oklab(41.86% 0.0057 -0.1833) |
| OKLCH | oklch(41.86% 0.183 271.8) |
| XYZ | xyz(10.2728, 6.5855, 40.7659) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.44
Blue Blue
#2242C7
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.70
Blueberry
#464196
ΔE00 5.32
Blue With A Hint Of Purple
#533CC6
ΔE00 5.93
Cobalt
#0047AB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F39AE #AEA42F
analogous
#2F78AE #2F39AE #652FAE
triadic
#2F39AE #AE2F39 #39AE2F
tetradic
#2F39AE #AE2F78 #AEA42F #2FAE65
square
#2F39AE #AE2F78 #AEA42F #2FAE65
split-complementary
#2F39AE #AE652F #78AE2F
monochromatic
#15194E #22297E #2F39AE #4C56CF #7C83DC
Accessibility & contrast
On white
9.06
#2F39AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F39AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F39AE
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F39AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F39AE | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f39ae; /* rgb */ color: rgb(47, 57, 174); /* oklch */ color: oklch(41.9% 0.183 271.8);
Tailwind
colors: {
custom: {
50: '#7a70c7',
500: '#2f39ae',
950: '#000000',
},
}SCSS
$custom: #2f39ae; $custom-light: #7a70c7; $custom-dark: #000000;
JSON
{
"hex": "#2f39ae",
"rgb": {
"r": 47,
"g": 57,
"b": 174
},
"hsl": {
"h": 235.276,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.41859,
"c": 0.18335,
"h": 271.8
},
"luminance": 0.06587
}Semantic roles & 50–950 ramp
primary
#2F39AE
secondary
#C4BE75
accent
#D547E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82