#2F39B5#2F39B5
#2F39B5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.192 H 271.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F39B5 |
|---|---|
| RGB | rgb(47, 57, 181) |
| HSL | hsl(236, 59%, 45%) |
| HSV | hsv(236, 74%, 71%) |
| CMYK | cmyk(74%, 68.5%, 0%, 29%) |
| CIE-LAB | lab(31.50, 38.73, -66.48) |
| CIE-LCH | lch(31.50, 76.93, 300.22°) |
| OKLab | oklab(42.53% 0.005 -0.1923) |
| OKLCH | oklch(42.53% 0.192 271.5) |
| XYZ | xyz(10.9731, 6.8656, 44.4540) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.09
Blue Blue
#2242C7
ΔE00 3.56
Ocean Blue
#4F42B5
ΔE00 4.44
Blue With A Hint Of Purple
#533CC6
ΔE00 5.26
Blurple
#5539CC
ΔE00 5.91
Blueberry
#464196
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F39B5 #B5AB2F
analogous
#2F7CB5 #2F39B5 #682FB5
triadic
#2F39B5 #B52F39 #39B52F
tetradic
#2F39B5 #B52F7C #B5AB2F #2FB568
square
#2F39B5 #B52F7C #B5AB2F #2FB568
split-complementary
#2F39B5 #B5682F #7CB52F
monochromatic
#161A54 #222A84 #2F39B5 #5059D1 #8087DE
Accessibility & contrast
On white
8.85
#2F39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F39B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F39B5
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F39B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F39B5 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f39b5; /* rgb */ color: rgb(47, 57, 181); /* oklch */ color: oklch(42.5% 0.192 271.5);
Tailwind
colors: {
custom: {
50: '#7c70cc',
500: '#2f39b5',
950: '#000000',
},
}SCSS
$custom: #2f39b5; $custom-light: #7c70cc; $custom-dark: #000000;
JSON
{
"hex": "#2f39b5",
"rgb": {
"r": 47,
"g": 57,
"b": 181
},
"hsl": {
"h": 235.522,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.42533,
"c": 0.19237,
"h": 271.5
},
"luminance": 0.06867
}Semantic roles & 50–950 ramp
primary
#2F39B5
secondary
#C7C179
accent
#D646E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82