#2F4199#2F4199
#2F4199 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 270.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4199 |
|---|---|
| RGB | rgb(47, 65, 153) |
| HSL | hsl(230, 53%, 39%) |
| HSV | hsv(230, 69%, 60%) |
| CMYK | cmyk(69.3%, 57.5%, 0%, 40%) |
| CIE-LAB | lab(31.08, 23.37, -50.34) |
| CIE-LCH | lch(31.08, 55.50, 294.90°) |
| OKLab | oklab(41.48% 0.0003 -0.1449) |
| OKLCH | oklch(41.48% 0.145 270.1) |
| XYZ | xyz(8.8104, 6.6840, 30.9566) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 4.80
Darkslateblue
#483D8B
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4199 #99872F
analogous
#2F7699 #2F4199 #522F99
triadic
#2F4199 #992F41 #41992F
tetradic
#2F4199 #992F76 #99872F #2F9952
square
#2F4199 #992F76 #99872F #2F9952
split-complementary
#2F4199 #99522F #76992F
monochromatic
#12193B #212D6A #2F4199 #4157C5 #6F80D3
Accessibility & contrast
On white
8.99
#2F4199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F4199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4199
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4199 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4199; /* rgb */ color: rgb(47, 65, 153); /* oklch */ color: oklch(41.5% 0.145 270.1);
Tailwind
colors: {
custom: {
50: '#7575b8',
500: '#2f4199',
950: '#000000',
},
}SCSS
$custom: #2f4199; $custom-light: #7575b8; $custom-dark: #000000;
JSON
{
"hex": "#2f4199",
"rgb": {
"r": 47,
"g": 65,
"b": 153
},
"hsl": {
"h": 229.811,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.41477,
"c": 0.14494,
"h": 270.1
},
"luminance": 0.06685
}Semantic roles & 50–950 ramp
primary
#2F4199
secondary
#BAAD69
accent
#C44BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80