#2F479B#2F479B
#2F479B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.140 H 268.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F479B |
|---|---|
| RGB | rgb(47, 71, 155) |
| HSL | hsl(227, 53%, 40%) |
| HSV | hsv(227, 70%, 61%) |
| CMYK | cmyk(69.7%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(32.87, 20.09, -48.65) |
| CIE-LCH | lch(32.87, 52.64, 292.44°) |
| OKLab | oklab(42.87% -0.0049 -0.1399) |
| OKLCH | oklch(42.87% 0.14 268) |
| XYZ | xyz(9.3399, 7.4765, 31.9549) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.46
Cobalt
#0047AB
ΔE00 3.52
Blueberry
#464196
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.52
Sapphire
#0F52BA
ΔE00 5.83
Darkish Blue
#014182
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F479B #9B832F
analogous
#2F7D9B #2F479B #4D2F9B
triadic
#2F479B #9B2F47 #479B2F
tetradic
#2F479B #9B2F7D #9B832F #2F9B4D
square
#2F479B #9B2F7D #9B832F #2F9B4D
split-complementary
#2F479B #9B4D2F #7D9B2F
monochromatic
#131C3D #21316C #2F479B #425FC6 #7187D4
Accessibility & contrast
On white
8.42
#2F479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F479B
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F479B | 1.00 | 8.42 | 2.50 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f479b; /* rgb */ color: rgb(47, 71, 155); /* oklch */ color: oklch(42.9% 0.140 268.0);
Tailwind
colors: {
custom: {
50: '#7579b9',
500: '#2f479b',
950: '#000000',
},
}SCSS
$custom: #2f479b; $custom-light: #7579b9; $custom-dark: #000000;
JSON
{
"hex": "#2f479b",
"rgb": {
"r": 47,
"g": 71,
"b": 155
},
"hsl": {
"h": 226.667,
"s": 53.465,
"l": 39.608
},
"oklch": {
"l": 0.42871,
"c": 0.13997,
"h": 268
},
"luminance": 0.07477
}Semantic roles & 50–950 ramp
primary
#2F479B
secondary
#BBA96A
accent
#BC4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80