#2F5199#2F5199
#2F5199 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.124 H 263.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5199 |
|---|---|
| RGB | rgb(47, 81, 153) |
| HSL | hsl(221, 53%, 39%) |
| HSV | hsv(221, 69%, 60%) |
| CMYK | cmyk(69.3%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(35.57, 12.66, -43.09) |
| CIE-LCH | lch(35.57, 44.91, 286.37°) |
| OKLab | oklab(44.89% -0.0146 -0.1233) |
| OKLCH | oklch(44.89% 0.124 263.3) |
| XYZ | xyz(9.8625, 8.7881, 31.3073) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.94
Cobalt (survey)
#1E488F
ΔE00 3.27
Denim Blue
#3B5B92
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.35
Light Navy Blue
#2E5A88
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5199 #99772F
analogous
#2F8699 #2F5199 #422F99
triadic
#2F5199 #992F51 #51992F
tetradic
#2F5199 #992F86 #99772F #2F9942
square
#2F5199 #992F86 #99772F #2F9942
split-complementary
#2F5199 #99422F #86992F
monochromatic
#121F3B #21386A #2F5199 #416BC5 #6F8FD3
Accessibility & contrast
On white
7.61
#2F5199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2F5199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5199
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5199 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#174F98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f5199; /* rgb */ color: rgb(47, 81, 153); /* oklch */ color: oklch(44.9% 0.124 263.3);
Tailwind
colors: {
custom: {
50: '#7481b7',
500: '#2f5199',
950: '#000000',
},
}SCSS
$custom: #2f5199; $custom-light: #7481b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5199",
"rgb": {
"r": 47,
"g": 81,
"b": 153
},
"hsl": {
"h": 220.755,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.44886,
"c": 0.1242,
"h": 263.3
},
"luminance": 0.08789
}Semantic roles & 50–950 ramp
primary
#2F5199
secondary
#BAA069
accent
#AE4BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80