#2F477A#2F477A
#2F477A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.091 H 263.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F477A |
|---|---|
| RGB | rgb(47, 71, 122) |
| HSL | hsl(221, 44%, 33%) |
| HSV | hsv(221, 61%, 48%) |
| CMYK | cmyk(61.5%, 41.8%, 0%, 52.2%) |
| CIE-LAB | lab(30.68, 7.76, -31.87) |
| CIE-LCH | lch(30.68, 32.80, 283.68°) |
| OKLab | oklab(40.49% -0.0098 -0.0905) |
| OKLCH | oklch(40.49% 0.091 263.8) |
| XYZ | xyz(6.9372, 6.5154, 19.3006) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.74
Twilight Blue
#0A437A
ΔE00 4.52
Darkish Blue
#014182
ΔE00 4.59
Dusk Blue
#26538D
ΔE00 5.45
Prussian Blue
#004577
ΔE00 5.77
Light Navy
#155084
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F477A #7A622F
analogous
#2F6C7A #2F477A #3C2F7A
triadic
#2F477A #7A2F47 #477A2F
tetradic
#2F477A #7A2F6C #7A622F #2F7A3C
square
#2F477A #7A2F6C #7A622F #2F7A3C
split-complementary
#2F477A #7A3C2F #6C7A2F
monochromatic
#0D1422 #1E2D4E #2F477A #4061A6 #6180C2
Accessibility & contrast
On white
9.12
#2F477A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F477A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F477A
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F477A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F477A | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f477a; /* rgb */ color: rgb(47, 71, 122); /* oklch */ color: oklch(40.5% 0.091 263.8);
Tailwind
colors: {
custom: {
50: '#6e79a1',
500: '#2f477a',
950: '#000000',
},
}SCSS
$custom: #2f477a; $custom-light: #6e79a1; $custom-dark: #000000;
JSON
{
"hex": "#2f477a",
"rgb": {
"r": 47,
"g": 71,
"b": 122
},
"hsl": {
"h": 220.8,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.40495,
"c": 0.09108,
"h": 263.8
},
"luminance": 0.06516
}Semantic roles & 50–950 ramp
primary
#2F477A
secondary
#A9905C
accent
#AB54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E