#2F3C9A#2F3C9A
#2F3C9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.153 H 271.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C9A |
|---|---|
| RGB | rgb(47, 60, 154) |
| HSL | hsl(233, 53%, 39%) |
| HSV | hsv(233, 69%, 60%) |
| CMYK | cmyk(69.5%, 61%, 0%, 39.6%) |
| CIE-LAB | lab(29.83, 27.08, -52.98) |
| CIE-LCH | lch(29.83, 59.49, 297.07°) |
| OKLab | oklab(40.58% 0.0046 -0.1527) |
| OKLCH | oklch(40.58% 0.153 271.7) |
| XYZ | xyz(8.6189, 6.1683, 31.3020) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Blueberry
#464196
ΔE00 3.80
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.26
Blue Blue
#2242C7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C9A #9A8D2F
analogous
#2F729A #2F3C9A #572F9A
triadic
#2F3C9A #9A2F3C #3C9A2F
tetradic
#2F3C9A #9A2F72 #9A8D2F #2F9A57
square
#2F3C9A #9A2F72 #9A8D2F #2F9A57
split-complementary
#2F3C9A #9A572F #729A2F
monochromatic
#12173C #212A6B #2F3C9A #4151C5 #707CD3
Accessibility & contrast
On white
9.40
#2F3C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F3C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C9A
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C9A | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3c9a; /* rgb */ color: rgb(47, 60, 154); /* oklch */ color: oklch(40.6% 0.153 271.7);
Tailwind
colors: {
custom: {
50: '#7671b9',
500: '#2f3c9a',
950: '#000000',
},
}SCSS
$custom: #2f3c9a; $custom-light: #7671b9; $custom-dark: #000000;
JSON
{
"hex": "#2f3c9a",
"rgb": {
"r": 47,
"g": 60,
"b": 154
},
"hsl": {
"h": 232.71,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.40576,
"c": 0.1528,
"h": 271.7
},
"luminance": 0.06169
}Semantic roles & 50–950 ramp
primary
#2F3C9A
secondary
#BBB16A
accent
#CB4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80