#2F4399#2F4399
#2F4399 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.142 H 269.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4399 |
|---|---|
| RGB | rgb(47, 67, 153) |
| HSL | hsl(229, 53%, 39%) |
| HSV | hsv(229, 69%, 60%) |
| CMYK | cmyk(69.3%, 56.2%, 0%, 40%) |
| CIE-LAB | lab(31.62, 22.03, -49.46) |
| CIE-LCH | lch(31.62, 54.15, 294.00°) |
| OKLab | oklab(41.88% -0.0014 -0.1423) |
| OKLCH | oklch(41.88% 0.142 269.4) |
| XYZ | xyz(8.9272, 6.9177, 30.9956) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 4.34
Sapphire (survey)
#2138AB
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 6.06
Darkish Blue
#014182
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4399 #99852F
analogous
#2F7899 #2F4399 #502F99
triadic
#2F4399 #992F43 #43992F
tetradic
#2F4399 #992F78 #99852F #2F9950
square
#2F4399 #992F78 #99852F #2F9950
split-complementary
#2F4399 #99502F #78992F
monochromatic
#121A3B #212E6A #2F4399 #415AC5 #6F82D3
Accessibility & contrast
On white
8.81
#2F4399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F4399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4399
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4399 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4399; /* rgb */ color: rgb(47, 67, 153); /* oklch */ color: oklch(41.9% 0.142 269.4);
Tailwind
colors: {
custom: {
50: '#7576b8',
500: '#2f4399',
950: '#000000',
},
}SCSS
$custom: #2f4399; $custom-light: #7576b8; $custom-dark: #000000;
JSON
{
"hex": "#2f4399",
"rgb": {
"r": 47,
"g": 67,
"b": 153
},
"hsl": {
"h": 228.679,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.41883,
"c": 0.14233,
"h": 269.4
},
"luminance": 0.06919
}Semantic roles & 50–950 ramp
primary
#2F4399
secondary
#BAAB69
accent
#C14BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80