#2F509F#2F509F
#2F509F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.134 H 264.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F509F |
|---|---|
| RGB | rgb(47, 80, 159) |
| HSL | hsl(222, 54%, 40%) |
| HSV | hsv(222, 70%, 62%) |
| CMYK | cmyk(70.4%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.68, 15.59, -46.52) |
| CIE-LCH | lch(35.68, 49.07, 288.52°) |
| OKLab | oklab(45.1% -0.0127 -0.1335) |
| OKLCH | oklch(45.1% 0.134 264.6) |
| XYZ | xyz(10.2968, 8.8438, 33.9585) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.54
Cobalt
#0047AB
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 3.78
Dusk Blue
#26538D
ΔE00 3.81
Denim Blue
#3B5B92
ΔE00 4.22
Light Navy Blue
#2E5A88
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F509F #9F7E2F
analogous
#2F889F #2F509F #462F9F
triadic
#2F509F #9F2F50 #509F2F
tetradic
#2F509F #9F2F88 #9F7E2F #2F9F46
square
#2F509F #9F2F88 #9F7E2F #2F9F46
split-complementary
#2F509F #9F462F #889F2F
monochromatic
#132041 #213870 #2F509F #446AC8 #7390D6
Accessibility & contrast
On white
7.58
#2F509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F509F
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F509F | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f509f; /* rgb */ color: rgb(47, 80, 159); /* oklch */ color: oklch(45.1% 0.134 264.6);
Tailwind
colors: {
custom: {
50: '#7580bc',
500: '#2f509f',
950: '#000000',
},
}SCSS
$custom: #2f509f; $custom-light: #7580bc; $custom-dark: #000000;
JSON
{
"hex": "#2f509f",
"rgb": {
"r": 47,
"g": 80,
"b": 159
},
"hsl": {
"h": 222.321,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.45097,
"c": 0.13407,
"h": 264.6
},
"luminance": 0.08845
}Semantic roles & 50–950 ramp
primary
#2F509F
secondary
#BDA56D
accent
#B24ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81