#2F509D#2F509D
#2F509D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.131 H 264.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F509D |
|---|---|
| RGB | rgb(47, 80, 157) |
| HSL | hsl(222, 54%, 40%) |
| HSV | hsv(222, 70%, 62%) |
| CMYK | cmyk(70.1%, 49%, 0%, 38.4%) |
| CIE-LAB | lab(35.55, 14.83, -45.54) |
| CIE-LCH | lch(35.55, 47.89, 288.04°) |
| OKLab | oklab(44.95% -0.013 -0.1306) |
| OKLCH | oklch(44.95% 0.131 264.3) |
| XYZ | xyz(10.1246, 8.7750, 33.0519) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 3.59
Cobalt
#0047AB
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 3.99
Denim Blue
#3B5B92
ΔE00 4.10
Light Navy Blue
#2E5A88
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F509D #9D7C2F
analogous
#2F879D #2F509D #452F9D
triadic
#2F509D #9D2F50 #509D2F
tetradic
#2F509D #9D2F87 #9D7C2F #2F9D45
square
#2F509D #9D2F87 #9D7C2F #2F9D45
split-complementary
#2F509D #9D452F #879D2F
monochromatic
#13203F #21386E #2F509D #436AC7 #728FD5
Accessibility & contrast
On white
7.62
#2F509D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2F509D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F509D
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F509D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F509D | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#094F9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f509d; /* rgb */ color: rgb(47, 80, 157); /* oklch */ color: oklch(45.0% 0.131 264.3);
Tailwind
colors: {
custom: {
50: '#7580ba',
500: '#2f509d',
950: '#000000',
},
}SCSS
$custom: #2f509d; $custom-light: #7580ba; $custom-dark: #000000;
JSON
{
"hex": "#2f509d",
"rgb": {
"r": 47,
"g": 80,
"b": 157
},
"hsl": {
"h": 222,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.44951,
"c": 0.13121,
"h": 264.3
},
"luminance": 0.08776
}Semantic roles & 50–950 ramp
primary
#2F509D
secondary
#BCA46B
accent
#B14BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81