#2F487F#2F487F
#2F487F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.097 H 264.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F487F |
|---|---|
| RGB | rgb(47, 72, 127) |
| HSL | hsl(221, 46%, 34%) |
| HSV | hsv(221, 63%, 50%) |
| CMYK | cmyk(63%, 43.3%, 0%, 50.2%) |
| CIE-LAB | lab(31.28, 8.93, -34.03) |
| CIE-LCH | lch(31.28, 35.18, 284.71°) |
| OKLab | oklab(41.06% -0.0099 -0.0969) |
| OKLCH | oklch(41.06% 0.097 264.2) |
| XYZ | xyz(7.3191, 6.7707, 20.9957) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.11
Darkish Blue
#014182
ΔE00 4.47
Twilight Blue
#0A437A
ΔE00 4.56
Dusk Blue
#26538D
ΔE00 4.97
Prussian Blue
#004577
ΔE00 5.82
Light Navy
#155084
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F487F #7F662F
analogous
#2F707F #2F487F #3E2F7F
triadic
#2F487F #7F2F48 #487F2F
tetradic
#2F487F #7F2F70 #7F662F #2F7F3E
square
#2F487F #7F2F70 #7F662F #2F7F3E
split-complementary
#2F487F #7F3E2F #707F2F
monochromatic
#0E1526 #1E2F52 #2F487F #4061AC #6382C5
Accessibility & contrast
On white
8.92
#2F487F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F487F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F487F
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F487F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F487F | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f487f; /* rgb */ color: rgb(47, 72, 127); /* oklch */ color: oklch(41.1% 0.097 264.2);
Tailwind
colors: {
custom: {
50: '#6f7aa4',
500: '#2f487f',
950: '#000000',
},
}SCSS
$custom: #2f487f; $custom-light: #6f7aa4; $custom-dark: #000000;
JSON
{
"hex": "#2f487f",
"rgb": {
"r": 47,
"g": 72,
"b": 127
},
"hsl": {
"h": 221.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.41056,
"c": 0.09738,
"h": 264.2
},
"luminance": 0.06771
}Semantic roles & 50–950 ramp
primary
#2F487F
secondary
#AC945E
accent
#AD52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F