#2F479C#2F479C
#2F479C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.141 H 268.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F479C |
|---|---|
| RGB | rgb(47, 71, 156) |
| HSL | hsl(227, 54%, 40%) |
| HSV | hsv(227, 70%, 61%) |
| CMYK | cmyk(69.9%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.94, 20.47, -49.14) |
| CIE-LCH | lch(32.94, 53.23, 292.61°) |
| OKLab | oklab(42.95% -0.0048 -0.1413) |
| OKLCH | oklch(42.95% 0.141 268.1) |
| XYZ | xyz(9.4242, 7.5102, 32.3990) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Cobalt (survey)
#1E488F
ΔE00 3.57
Blueberry
#464196
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.42
Sapphire
#0F52BA
ΔE00 5.76
Dusk Blue
#26538D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F479C #9C842F
analogous
#2F7E9C #2F479C #4D2F9C
triadic
#2F479C #9C2F47 #479C2F
tetradic
#2F479C #9C2F7E #9C842F #2F9C4D
square
#2F479C #9C2F7E #9C842F #2F9C4D
split-complementary
#2F479C #9C4D2F #7E9C2F
monochromatic
#131C3E #21326D #2F479C #425FC6 #7187D4
Accessibility & contrast
On white
8.39
#2F479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F479C
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F479C | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f479c; /* rgb */ color: rgb(47, 71, 156); /* oklch */ color: oklch(42.9% 0.141 268.1);
Tailwind
colors: {
custom: {
50: '#7579ba',
500: '#2f479c',
950: '#000000',
},
}SCSS
$custom: #2f479c; $custom-light: #7579ba; $custom-dark: #000000;
JSON
{
"hex": "#2f479c",
"rgb": {
"r": 47,
"g": 71,
"b": 156
},
"hsl": {
"h": 226.789,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.42949,
"c": 0.14139,
"h": 268.1
},
"luminance": 0.07511
}Semantic roles & 50–950 ramp
primary
#2F479C
secondary
#BCAA6B
accent
#BD4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81