#2F39B0#2F39B0
#2F39B0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.186 H 271.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F39B0 |
|---|---|
| RGB | rgb(47, 57, 176) |
| HSL | hsl(235, 58%, 44%) |
| HSV | hsv(235, 73%, 69%) |
| CMYK | cmyk(73.3%, 67.6%, 0%, 31%) |
| CIE-LAB | lab(31.03, 36.96, -64.27) |
| CIE-LCH | lch(31.03, 74.14, 299.90°) |
| OKLab | oklab(42.05% 0.0055 -0.1859) |
| OKLCH | oklch(42.05% 0.186 271.7) |
| XYZ | xyz(10.4692, 6.6641, 41.8004) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.60
Blue Blue
#2242C7
ΔE00 3.98
Ocean Blue
#4F42B5
ΔE00 4.61
Blueberry
#464196
ΔE00 5.50
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Blurple
#5539CC
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F39B0 #B0A62F
analogous
#2F79B0 #2F39B0 #652FB0
triadic
#2F39B0 #B02F39 #39B02F
tetradic
#2F39B0 #B02F79 #B0A62F #2FB065
square
#2F39B0 #B02F79 #B0A62F #2FB065
split-complementary
#2F39B0 #B0652F #79B02F
monochromatic
#151A4F #222980 #2F39B0 #4D57CF #7D84DC
Accessibility & contrast
On white
9.00
#2F39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F39B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F39B0
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F39B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F39B0 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f39b0; /* rgb */ color: rgb(47, 57, 176); /* oklch */ color: oklch(42.0% 0.186 271.7);
Tailwind
colors: {
custom: {
50: '#7b70c9',
500: '#2f39b0',
950: '#000000',
},
}SCSS
$custom: #2f39b0; $custom-light: #7b70c9; $custom-dark: #000000;
JSON
{
"hex": "#2f39b0",
"rgb": {
"r": 47,
"g": 57,
"b": 176
},
"hsl": {
"h": 235.349,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.4205,
"c": 0.18594,
"h": 271.7
},
"luminance": 0.06665
}Semantic roles & 50–950 ramp
primary
#2F39B0
secondary
#C5BF76
accent
#D547E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82