#2F518F#2F518F
#2F518F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.110 H 261.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F518F |
|---|---|
| RGB | rgb(47, 81, 143) |
| HSL | hsl(219, 51%, 37%) |
| HSV | hsv(219, 67%, 56%) |
| CMYK | cmyk(67.1%, 43.4%, 0%, 43.9%) |
| CIE-LAB | lab(34.95, 8.90, -38.03) |
| CIE-LCH | lch(34.95, 39.05, 283.17°) |
| OKLab | oklab(44.2% -0.0164 -0.1085) |
| OKLCH | oklch(44.2% 0.11 261.4) |
| XYZ | xyz(9.0709, 8.4715, 27.1384) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.09
Cobalt (survey)
#1E488F
ΔE00 3.04
Denim Blue
#3B5B92
ΔE00 3.35
Light Navy Blue
#2E5A88
ΔE00 4.22
Light Navy
#155084
ΔE00 4.35
Cobalt
#0047AB
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F518F #8F6D2F
analogous
#2F818F #2F518F #3D2F8F
triadic
#2F518F #8F2F51 #518F2F
tetradic
#2F518F #8F2F81 #8F6D2F #2F8F3D
square
#2F518F #8F2F81 #8F6D2F #2F8F3D
split-complementary
#2F518F #8F3D2F #818F2F
monochromatic
#111D33 #203761 #2F518F #3E6BBD #6A8ECE
Accessibility & contrast
On white
7.79
#2F518F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2F518F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F518F
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F518F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F518F | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f518f; /* rgb */ color: rgb(47, 81, 143); /* oklch */ color: oklch(44.2% 0.110 261.4);
Tailwind
colors: {
custom: {
50: '#7281b0',
500: '#2f518f',
950: '#000000',
},
}SCSS
$custom: #2f518f; $custom-light: #7281b0; $custom-dark: #000000;
JSON
{
"hex": "#2f518f",
"rgb": {
"r": 47,
"g": 81,
"b": 143
},
"hsl": {
"h": 218.75,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.44201,
"c": 0.10971,
"h": 261.4
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#2F518F
secondary
#B59965
accent
#A84EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F