#2F3F9A#2F3F9A
#2F3F9A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.149 H 270.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F9A |
|---|---|
| RGB | rgb(47, 63, 154) |
| HSL | hsl(231, 53%, 39%) |
| HSV | hsv(231, 69%, 60%) |
| CMYK | cmyk(69.5%, 59.1%, 0%, 39.6%) |
| CIE-LAB | lab(30.62, 25.08, -51.69) |
| CIE-LCH | lch(30.62, 57.46, 295.88°) |
| OKLab | oklab(41.16% 0.0021 -0.1489) |
| OKLCH | oklch(41.16% 0.149 270.8) |
| XYZ | xyz(8.7806, 6.4916, 31.3559) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 3.84
Cobalt
#0047AB
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F9A #9A8A2F
analogous
#2F759A #2F3F9A #552F9A
triadic
#2F3F9A #9A2F3F #3F9A2F
tetradic
#2F3F9A #9A2F75 #9A8A2F #2F9A55
square
#2F3F9A #9A2F75 #9A8A2F #2F9A55
split-complementary
#2F3F9A #9A552F #759A2F
monochromatic
#12193C #212C6B #2F3F9A #4155C5 #707FD3
Accessibility & contrast
On white
9.14
#2F3F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F3F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F9A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F9A | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3f9a; /* rgb */ color: rgb(47, 63, 154); /* oklch */ color: oklch(41.2% 0.149 270.8);
Tailwind
colors: {
custom: {
50: '#7573b8',
500: '#2f3f9a',
950: '#000000',
},
}SCSS
$custom: #2f3f9a; $custom-light: #7573b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3f9a",
"rgb": {
"r": 47,
"g": 63,
"b": 154
},
"hsl": {
"h": 231.028,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.41161,
"c": 0.14894,
"h": 270.8
},
"luminance": 0.06492
}Semantic roles & 50–950 ramp
primary
#2F3F9A
secondary
#BBAF6A
accent
#C74BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80