#2F4299#2F4299
#2F4299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.144 H 269.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4299 |
|---|---|
| RGB | rgb(47, 66, 153) |
| HSL | hsl(229, 53%, 39%) |
| HSV | hsv(229, 69%, 60%) |
| CMYK | cmyk(69.3%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(31.35, 22.70, -49.91) |
| CIE-LCH | lch(31.35, 54.83, 294.46°) |
| OKLab | oklab(41.68% -0.0005 -0.1436) |
| OKLCH | oklch(41.68% 0.144 269.8) |
| XYZ | xyz(8.8683, 6.7998, 30.9760) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.30
Cobalt
#0047AB
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 5.87
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4299 #99862F
analogous
#2F7799 #2F4299 #512F99
triadic
#2F4299 #992F42 #42992F
tetradic
#2F4299 #992F77 #99862F #2F9951
square
#2F4299 #992F77 #99862F #2F9951
split-complementary
#2F4299 #99512F #77992F
monochromatic
#121A3B #212E6A #2F4299 #4158C5 #6F81D3
Accessibility & contrast
On white
8.90
#2F4299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F4299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4299
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4299 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4299; /* rgb */ color: rgb(47, 66, 153); /* oklch */ color: oklch(41.7% 0.144 269.8);
Tailwind
colors: {
custom: {
50: '#7576b8',
500: '#2f4299',
950: '#000000',
},
}SCSS
$custom: #2f4299; $custom-light: #7576b8; $custom-dark: #000000;
JSON
{
"hex": "#2f4299",
"rgb": {
"r": 47,
"g": 66,
"b": 153
},
"hsl": {
"h": 229.245,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.41679,
"c": 0.14363,
"h": 269.8
},
"luminance": 0.06801
}Semantic roles & 50–950 ramp
primary
#2F4299
secondary
#BAAC69
accent
#C24BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80