#2F479E#2F479E
#2F479E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.144 H 268.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F479E |
|---|---|
| RGB | rgb(47, 71, 158) |
| HSL | hsl(227, 54%, 40%) |
| HSV | hsv(227, 70%, 62%) |
| CMYK | cmyk(70.3%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(33.09, 21.22, -50.11) |
| CIE-LCH | lch(33.09, 54.42, 292.95°) |
| OKLab | oklab(43.11% -0.0047 -0.1442) |
| OKLCH | oklch(43.11% 0.144 268.1) |
| XYZ | xyz(9.5950, 7.5785, 33.2983) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 3.78
Blueberry
#464196
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F479E #9E862F
analogous
#2F7E9E #2F479E #4E2F9E
triadic
#2F479E #9E2F47 #479E2F
tetradic
#2F479E #9E2F7E #9E862F #2F9E4E
square
#2F479E #9E2F7E #9E862F #2F9E4E
split-complementary
#2F479E #9E4E2F #7E9E2F
monochromatic
#131D40 #21326F #2F479E #4360C7 #7288D5
Accessibility & contrast
On white
8.35
#2F479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2F479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F479E
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F479E | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0253A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f479e; /* rgb */ color: rgb(47, 71, 158); /* oklch */ color: oklch(43.1% 0.144 268.1);
Tailwind
colors: {
custom: {
50: '#7679bb',
500: '#2f479e',
950: '#000000',
},
}SCSS
$custom: #2f479e; $custom-light: #7679bb; $custom-dark: #000000;
JSON
{
"hex": "#2f479e",
"rgb": {
"r": 47,
"g": 71,
"b": 158
},
"hsl": {
"h": 227.027,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.43108,
"c": 0.14424,
"h": 268.1
},
"luminance": 0.07579
}Semantic roles & 50–950 ramp
primary
#2F479E
secondary
#BDAB6C
accent
#BE4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81