#2F3A99#2F3A99
#2F3A99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.154 H 272.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A99 |
|---|---|
| RGB | rgb(47, 58, 153) |
| HSL | hsl(234, 53%, 39%) |
| HSV | hsv(234, 69%, 60%) |
| CMYK | cmyk(69.3%, 62.1%, 0%, 40%) |
| CIE-LAB | lab(29.23, 28.03, -53.34) |
| CIE-LCH | lch(29.23, 60.26, 297.72°) |
| OKLab | oklab(40.11% 0.0063 -0.1538) |
| OKLCH | oklch(40.11% 0.154 272.3) |
| XYZ | xyz(8.4332, 5.9296, 30.8309) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Blueberry
#464196
ΔE00 3.89
Darkslateblue
#483D8B
ΔE00 5.07
Cobalt
#0047AB
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.37
Blue Blue
#2242C7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A99 #998E2F
analogous
#2F6F99 #2F3A99 #592F99
triadic
#2F3A99 #992F3A #3A992F
tetradic
#2F3A99 #992F6F #998E2F #2F9959
square
#2F3A99 #992F6F #998E2F #2F9959
split-complementary
#2F3A99 #99592F #6F992F
monochromatic
#12173B #21286A #2F3A99 #414EC5 #6F7AD3
Accessibility & contrast
On white
9.61
#2F3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F3A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A99
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A99 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3a99; /* rgb */ color: rgb(47, 58, 153); /* oklch */ color: oklch(40.1% 0.154 272.3);
Tailwind
colors: {
custom: {
50: '#7670b8',
500: '#2f3a99',
950: '#000000',
},
}SCSS
$custom: #2f3a99; $custom-light: #7670b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3a99",
"rgb": {
"r": 47,
"g": 58,
"b": 153
},
"hsl": {
"h": 233.774,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.40107,
"c": 0.15396,
"h": 272.3
},
"luminance": 0.0593
}Semantic roles & 50–950 ramp
primary
#2F3A99
secondary
#BAB269
accent
#CD4BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80