#2F479A#2F479A
#2F479A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.139 H 267.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F479A |
|---|---|
| RGB | rgb(47, 71, 154) |
| HSL | hsl(227, 53%, 39%) |
| HSV | hsv(227, 69%, 60%) |
| CMYK | cmyk(69.5%, 53.9%, 0%, 39.6%) |
| CIE-LAB | lab(32.79, 19.72, -48.17) |
| CIE-LCH | lch(32.79, 52.05, 292.26°) |
| OKLab | oklab(42.79% -0.005 -0.1384) |
| OKLCH | oklch(42.79% 0.139 267.9) |
| XYZ | xyz(9.2563, 7.4430, 31.5144) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.37
Cobalt
#0047AB
ΔE00 3.59
Blueberry
#464196
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.61
Sapphire
#0F52BA
ΔE00 5.90
Darkish Blue
#014182
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F479A #9A822F
analogous
#2F7D9A #2F479A #4D2F9A
triadic
#2F479A #9A2F47 #479A2F
tetradic
#2F479A #9A2F7D #9A822F #2F9A4D
square
#2F479A #9A2F7D #9A822F #2F9A4D
split-complementary
#2F479A #9A4D2F #7D9A2F
monochromatic
#121C3C #21316B #2F479A #415FC5 #7086D3
Accessibility & contrast
On white
8.44
#2F479A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2F479A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F479A
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F479A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F479A | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f479a; /* rgb */ color: rgb(47, 71, 154); /* oklch */ color: oklch(42.8% 0.139 267.9);
Tailwind
colors: {
custom: {
50: '#7579b8',
500: '#2f479a',
950: '#000000',
},
}SCSS
$custom: #2f479a; $custom-light: #7579b8; $custom-dark: #000000;
JSON
{
"hex": "#2f479a",
"rgb": {
"r": 47,
"g": 71,
"b": 154
},
"hsl": {
"h": 226.542,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.42792,
"c": 0.13853,
"h": 267.9
},
"luminance": 0.07444
}Semantic roles & 50–950 ramp
primary
#2F479A
secondary
#BBA96A
accent
#BC4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80