#2F518C#2F518C
#2F518C is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.105 H 260.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F518C |
|---|---|
| RGB | rgb(47, 81, 140) |
| HSL | hsl(218, 50%, 37%) |
| HSV | hsv(218, 66%, 55%) |
| CMYK | cmyk(66.4%, 42.1%, 0%, 45.1%) |
| CIE-LAB | lab(34.77, 7.78, -36.49) |
| CIE-LCH | lch(34.77, 37.30, 282.03°) |
| OKLab | oklab(44% -0.0171 -0.1039) |
| OKLCH | oklch(44% 0.105 260.7) |
| XYZ | xyz(8.8467, 8.3818, 25.9575) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.93
Cobalt (survey)
#1E488F
ΔE00 3.10
Denim Blue
#3B5B92
ΔE00 3.39
Light Navy Blue
#2E5A88
ΔE00 4.07
Light Navy
#155084
ΔE00 4.11
Dusky Blue
#475F94
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F518C #8C6A2F
analogous
#2F808C #2F518C #3C2F8C
triadic
#2F518C #8C2F51 #518C2F
tetradic
#2F518C #8C2F80 #8C6A2F #2F8C3C
square
#2F518C #8C2F80 #8C6A2F #2F8C3C
split-complementary
#2F518C #8C3C2F #808C2F
monochromatic
#101C30 #20365E #2F518C #3E6CBA #698DCD
Accessibility & contrast
On white
7.85
#2F518C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F518C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F518C
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F518C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F518C | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f518c; /* rgb */ color: rgb(47, 81, 140); /* oklch */ color: oklch(44.0% 0.105 260.7);
Tailwind
colors: {
custom: {
50: '#7281ae',
500: '#2f518c',
950: '#000000',
},
}SCSS
$custom: #2f518c; $custom-light: #7281ae; $custom-dark: #000000;
JSON
{
"hex": "#2f518c",
"rgb": {
"r": 47,
"g": 81,
"b": 140
},
"hsl": {
"h": 218.065,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.44003,
"c": 0.10533,
"h": 260.7
},
"luminance": 0.08383
}Semantic roles & 50–950 ramp
primary
#2F518C
secondary
#B49663
accent
#A74FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F