#2F3E9A#2F3E9A
#2F3E9A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.150 H 271.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E9A |
|---|---|
| RGB | rgb(47, 62, 154) |
| HSL | hsl(232, 53%, 39%) |
| HSV | hsv(232, 69%, 60%) |
| CMYK | cmyk(69.5%, 59.7%, 0%, 39.6%) |
| CIE-LAB | lab(30.36, 25.75, -52.12) |
| CIE-LCH | lch(30.36, 58.14, 296.29°) |
| OKLab | oklab(40.96% 0.0029 -0.1502) |
| OKLCH | oklch(40.96% 0.15 271.1) |
| XYZ | xyz(8.7257, 6.3818, 31.3376) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.26
Blueberry
#464196
ΔE00 3.80
Cobalt
#0047AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.34
Cobalt (survey)
#1E488F
ΔE00 5.75
Blue Blue
#2242C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E9A #9A8B2F
analogous
#2F749A #2F3E9A #562F9A
triadic
#2F3E9A #9A2F3E #3E9A2F
tetradic
#2F3E9A #9A2F74 #9A8B2F #2F9A56
square
#2F3E9A #9A2F74 #9A8B2F #2F9A56
split-complementary
#2F3E9A #9A562F #749A2F
monochromatic
#12183C #212B6B #2F3E9A #4154C5 #707ED3
Accessibility & contrast
On white
9.22
#2F3E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F3E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E9A
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E9A | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3e9a; /* rgb */ color: rgb(47, 62, 154); /* oklch */ color: oklch(41.0% 0.150 271.1);
Tailwind
colors: {
custom: {
50: '#7573b9',
500: '#2f3e9a',
950: '#000000',
},
}SCSS
$custom: #2f3e9a; $custom-light: #7573b9; $custom-dark: #000000;
JSON
{
"hex": "#2f3e9a",
"rgb": {
"r": 47,
"g": 62,
"b": 154
},
"hsl": {
"h": 231.589,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.40964,
"c": 0.15023,
"h": 271.1
},
"luminance": 0.06383
}Semantic roles & 50–950 ramp
primary
#2F3E9A
secondary
#BBB06A
accent
#C84BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80