#2F39AC#2F39AC
#2F39AC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.181 H 271.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F39AC |
|---|---|
| RGB | rgb(47, 57, 172) |
| HSL | hsl(235, 57%, 43%) |
| HSV | hsv(235, 73%, 67%) |
| CMYK | cmyk(72.7%, 66.9%, 0%, 32.5%) |
| CIE-LAB | lab(30.66, 35.55, -62.49) |
| CIE-LCH | lch(30.66, 71.89, 299.63°) |
| OKLab | oklab(41.67% 0.0059 -0.1806) |
| OKLCH | oklch(41.67% 0.181 271.9) |
| XYZ | xyz(10.0793, 6.5081, 39.7467) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.34
Blue Blue
#2242C7
ΔE00 4.37
Ocean Blue
#4F42B5
ΔE00 4.80
Blueberry
#464196
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 6.13
Cobalt
#0047AB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F39AC #ACA22F
analogous
#2F77AC #2F39AC #632FAC
triadic
#2F39AC #AC2F39 #39AC2F
tetradic
#2F39AC #AC2F77 #ACA22F #2FAC63
square
#2F39AC #AC2F77 #ACA22F #2FAC63
split-complementary
#2F39AC #AC632F #77AC2F
monochromatic
#15194C #22297C #2F39AC #4B55CE #7B82DB
Accessibility & contrast
On white
9.12
#2F39AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F39AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F39AC
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F39AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F39AC | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f39ac; /* rgb */ color: rgb(47, 57, 172); /* oklch */ color: oklch(41.7% 0.181 271.9);
Tailwind
colors: {
custom: {
50: '#7a6fc6',
500: '#2f39ac',
950: '#000000',
},
}SCSS
$custom: #2f39ac; $custom-light: #7a6fc6; $custom-dark: #000000;
JSON
{
"hex": "#2f39ac",
"rgb": {
"r": 47,
"g": 57,
"b": 172
},
"hsl": {
"h": 235.2,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.41668,
"c": 0.18074,
"h": 271.9
},
"luminance": 0.06509
}Semantic roles & 50–950 ramp
primary
#2F39AC
secondary
#C3BD74
accent
#D447E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82