#2F3E99#2F3E99
#2F3E99 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.149 H 271.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E99 |
|---|---|
| RGB | rgb(47, 62, 153) |
| HSL | hsl(232, 53%, 39%) |
| HSV | hsv(232, 69%, 60%) |
| CMYK | cmyk(69.3%, 59.5%, 0%, 40%) |
| CIE-LAB | lab(30.28, 25.38, -51.65) |
| CIE-LCH | lch(30.28, 57.54, 296.17°) |
| OKLab | oklab(40.88% 0.0029 -0.1488) |
| OKLCH | oklch(40.88% 0.149 271.1) |
| XYZ | xyz(8.6427, 6.3487, 30.9008) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.39
Blueberry
#464196
ΔE00 3.79
Cobalt
#0047AB
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 5.29
Cobalt (survey)
#1E488F
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E99 #998A2F
analogous
#2F7399 #2F3E99 #552F99
triadic
#2F3E99 #992F3E #3E992F
tetradic
#2F3E99 #992F73 #998A2F #2F9955
square
#2F3E99 #992F73 #998A2F #2F9955
split-complementary
#2F3E99 #99552F #73992F
monochromatic
#12183B #212B6A #2F3E99 #4153C5 #6F7ED3
Accessibility & contrast
On white
9.25
#2F3E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F3E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E99
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E99 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3e99; /* rgb */ color: rgb(47, 62, 153); /* oklch */ color: oklch(40.9% 0.149 271.1);
Tailwind
colors: {
custom: {
50: '#7573b8',
500: '#2f3e99',
950: '#000000',
},
}SCSS
$custom: #2f3e99; $custom-light: #7573b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3e99",
"rgb": {
"r": 47,
"g": 62,
"b": 153
},
"hsl": {
"h": 231.509,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.40879,
"c": 0.14883,
"h": 271.1
},
"luminance": 0.06349
}Semantic roles & 50–950 ramp
primary
#2F3E99
secondary
#BAAF69
accent
#C84BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80