#2B479F#2B479F
#2B479F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.147 H 266.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B479F |
|---|---|
| RGB | rgb(43, 71, 159) |
| HSL | hsl(226, 57%, 40%) |
| HSV | hsv(226, 73%, 62%) |
| CMYK | cmyk(73%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.97, 21.02, -50.92) |
| CIE-LCH | lch(32.97, 55.09, 292.43°) |
| OKLab | oklab(42.99% -0.0083 -0.1466) |
| OKLCH | oklch(42.99% 0.147 266.7) |
| XYZ | xyz(9.5053, 7.5223, 33.7452) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Cobalt (survey)
#1E488F
ΔE00 3.46
Sapphire (survey)
#2138AB
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.29
Blueberry
#464196
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B479F #9F832B
analogous
#2B819F #2B479F #492B9F
triadic
#2B479F #9F2B47 #479F2B
tetradic
#2B479F #9F2B81 #9F832B #2B9F49
square
#2B479F #9F2B81 #9F832B #2B9F49
split-complementary
#2B479F #9F492B #819F2B
monochromatic
#111C3F #1E316F #2B479F #3D5FCA #6D87D7
Accessibility & contrast
On white
8.38
#2B479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2B479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B479F
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B479F | 1.00 | 8.38 | 2.50 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b479f; /* rgb */ color: rgb(43, 71, 159); /* oklch */ color: oklch(43.0% 0.147 266.7);
Tailwind
colors: {
custom: {
50: '#7479bc',
500: '#2b479f',
950: '#000000',
},
}SCSS
$custom: #2b479f; $custom-light: #7479bc; $custom-dark: #000000;
JSON
{
"hex": "#2b479f",
"rgb": {
"r": 43,
"g": 71,
"b": 159
},
"hsl": {
"h": 225.517,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.42986,
"c": 0.14687,
"h": 266.7
},
"luminance": 0.07523
}Semantic roles & 50–950 ramp
primary
#2B479F
secondary
#BEA967
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81