#2F39AA#2F39AA
#2F39AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.178 H 271.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F39AA |
|---|---|
| RGB | rgb(47, 57, 170) |
| HSL | hsl(235, 57%, 43%) |
| HSV | hsv(235, 72%, 67%) |
| CMYK | cmyk(72.4%, 66.5%, 0%, 33.3%) |
| CIE-LAB | lab(30.48, 34.83, -61.59) |
| CIE-LCH | lch(30.48, 70.76, 299.49°) |
| OKLab | oklab(41.48% 0.0061 -0.178) |
| OKLCH | oklch(41.48% 0.178 271.9) |
| XYZ | xyz(9.8887, 6.4319, 38.7427) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.29
Blue Blue
#2242C7
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 4.92
Blueberry
#464196
ΔE00 4.97
Blue With A Hint Of Purple
#533CC6
ΔE00 6.35
Cobalt
#0047AB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F39AA #AAA02F
analogous
#2F76AA #2F39AA #632FAA
triadic
#2F39AA #AA2F39 #39AA2F
tetradic
#2F39AA #AA2F76 #AAA02F #2FAA63
square
#2F39AA #AA2F76 #AAA02F #2FAA63
split-complementary
#2F39AA #AA632F #76AA2F
monochromatic
#14194A #22297A #2F39AA #4954CD #7981DA
Accessibility & contrast
On white
9.18
#2F39AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F39AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F39AA
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F39AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F39AA | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f39aa; /* rgb */ color: rgb(47, 57, 170); /* oklch */ color: oklch(41.5% 0.178 271.9);
Tailwind
colors: {
custom: {
50: '#796fc4',
500: '#2f39aa',
950: '#000000',
},
}SCSS
$custom: #2f39aa; $custom-light: #796fc4; $custom-dark: #000000;
JSON
{
"hex": "#2f39aa",
"rgb": {
"r": 47,
"g": 57,
"b": 170
},
"hsl": {
"h": 235.122,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.41479,
"c": 0.17811,
"h": 271.9
},
"luminance": 0.06433
}Semantic roles & 50–950 ramp
primary
#2F39AA
secondary
#C2BC72
accent
#D448E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82