#2F479F#2F479F
#2F479F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.146 H 268.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F479F |
|---|---|
| RGB | rgb(47, 71, 159) |
| HSL | hsl(227, 54%, 40%) |
| HSV | hsv(227, 70%, 62%) |
| CMYK | cmyk(70.4%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(33.16, 21.60, -50.59) |
| CIE-LCH | lch(33.16, 55.01, 293.12°) |
| OKLab | oklab(43.19% -0.0046 -0.1456) |
| OKLCH | oklch(43.19% 0.146 268.2) |
| XYZ | xyz(9.6814, 7.6131, 33.7534) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 3.89
Blueberry
#464196
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F479F #9F872F
analogous
#2F7F9F #2F479F #4F2F9F
triadic
#2F479F #9F2F47 #479F2F
tetradic
#2F479F #9F2F7F #9F872F #2F9F4F
square
#2F479F #9F2F7F #9F872F #2F9F4F
split-complementary
#2F479F #9F4F2F #7F9F2F
monochromatic
#131D41 #213270 #2F479F #4460C8 #7388D6
Accessibility & contrast
On white
8.32
#2F479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2F479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F479F
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F479F | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f479f; /* rgb */ color: rgb(47, 71, 159); /* oklch */ color: oklch(43.2% 0.146 268.2);
Tailwind
colors: {
custom: {
50: '#7679bc',
500: '#2f479f',
950: '#000000',
},
}SCSS
$custom: #2f479f; $custom-light: #7679bc; $custom-dark: #000000;
JSON
{
"hex": "#2f479f",
"rgb": {
"r": 47,
"g": 71,
"b": 159
},
"hsl": {
"h": 227.143,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.43188,
"c": 0.14565,
"h": 268.2
},
"luminance": 0.07614
}Semantic roles & 50–950 ramp
primary
#2F479F
secondary
#BDAC6D
accent
#BE4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81