#2B479A#2B479A
#2B479A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.140 H 266.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2B479A |
|---|---|
| RGB | rgb(43, 71, 154) |
| HSL | hsl(225, 56%, 39%) |
| HSV | hsv(225, 72%, 60%) |
| CMYK | cmyk(72.1%, 53.9%, 0%, 39.6%) |
| CIE-LAB | lab(32.60, 19.11, -48.50) |
| CIE-LCH | lch(32.60, 52.13, 291.50°) |
| OKLab | oklab(42.59% -0.0087 -0.1395) |
| OKLCH | oklch(42.59% 0.14 266.4) |
| XYZ | xyz(9.0802, 7.3522, 31.5062) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.15
Darkish Blue
#014182
ΔE00 5.49
Sapphire
#0F52BA
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 5.64
Blueberry
#464196
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B479A #9A7E2B
analogous
#2B7E9A #2B479A #462B9A
triadic
#2B479A #9A2B47 #479A2B
tetradic
#2B479A #9A2B7E #9A7E2B #2B9A46
square
#2B479A #9A2B7E #9A7E2B #2B9A46
split-complementary
#2B479A #9A462B #7E9A2B
monochromatic
#101B3A #1E316A #2B479A #3A5EC8 #6A85D5
Accessibility & contrast
On white
8.50
#2B479A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2B479A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B479A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B479A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B479A | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C529D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b479a; /* rgb */ color: rgb(43, 71, 154); /* oklch */ color: oklch(42.6% 0.140 266.4);
Tailwind
colors: {
custom: {
50: '#7379b8',
500: '#2b479a',
950: '#000000',
},
}SCSS
$custom: #2b479a; $custom-light: #7379b8; $custom-dark: #000000;
JSON
{
"hex": "#2b479a",
"rgb": {
"r": 43,
"g": 71,
"b": 154
},
"hsl": {
"h": 224.865,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.42588,
"c": 0.13978,
"h": 266.4
},
"luminance": 0.07353
}Semantic roles & 50–950 ramp
primary
#2B479A
secondary
#BCA665
accent
#B948E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80