#2F487C#2F487C
#2F487C is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.093 H 263.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F487C |
|---|---|
| RGB | rgb(47, 72, 124) |
| HSL | hsl(221, 45%, 34%) |
| HSV | hsv(221, 62%, 49%) |
| CMYK | cmyk(62.1%, 41.9%, 0%, 51.4%) |
| CIE-LAB | lab(31.10, 7.82, -32.45) |
| CIE-LCH | lch(31.10, 33.38, 283.56°) |
| OKLab | oklab(40.86% -0.0106 -0.0922) |
| OKLCH | oklch(40.86% 0.093 263.5) |
| XYZ | xyz(7.1265, 6.6937, 19.9813) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.42
Twilight Blue
#0A437A
ΔE00 4.46
Darkish Blue
#014182
ΔE00 4.52
Dusk Blue
#26538D
ΔE00 5.05
Prussian Blue
#004577
ΔE00 5.67
Light Navy
#155084
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F487C #7C632F
analogous
#2F6E7C #2F487C #3C2F7C
triadic
#2F487C #7C2F48 #487C2F
tetradic
#2F487C #7C2F6E #7C632F #2F7C3C
square
#2F487C #7C2F6E #7C632F #2F7C3C
split-complementary
#2F487C #7C3C2F #6E7C2F
monochromatic
#0D1423 #1E2E50 #2F487C #4062A8 #6282C3
Accessibility & contrast
On white
8.98
#2F487C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F487C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F487C
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F487C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F487C | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f487c; /* rgb */ color: rgb(47, 72, 124); /* oklch */ color: oklch(40.9% 0.093 263.5);
Tailwind
colors: {
custom: {
50: '#6f7aa2',
500: '#2f487c',
950: '#000000',
},
}SCSS
$custom: #2f487c; $custom-light: #6f7aa2; $custom-dark: #000000;
JSON
{
"hex": "#2f487c",
"rgb": {
"r": 47,
"g": 72,
"b": 124
},
"hsl": {
"h": 220.519,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.40859,
"c": 0.09283,
"h": 263.5
},
"luminance": 0.06694
}Semantic roles & 50–950 ramp
primary
#2F487C
secondary
#AA915C
accent
#AB53D5
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F