#2A479E#2A479E
#2A479E is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.146 H 266.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A479E |
|---|---|
| RGB | rgb(42, 71, 158) |
| HSL | hsl(225, 58%, 39%) |
| HSV | hsv(225, 73%, 62%) |
| CMYK | cmyk(73.4%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.85, 20.50, -50.52) |
| CIE-LCH | lch(32.85, 54.52, 292.08°) |
| OKLab | oklab(42.86% -0.0093 -0.1455) |
| OKLCH | oklch(42.86% 0.146 266.3) |
| XYZ | xyz(9.3775, 7.4664, 33.2881) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.79
Cobalt (survey)
#1E488F
ΔE00 3.24
Sapphire
#0F52BA
ΔE00 5.29
Sapphire (survey)
#2138AB
ΔE00 5.40
Blueberry
#464196
ΔE00 5.77
Darkish Blue
#014182
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A479E #9E812A
analogous
#2A819E #2A479E #472A9E
triadic
#2A479E #9E2A47 #479E2A
tetradic
#2A479E #9E2A81 #9E812A #2A9E47
square
#2A479E #9E2A81 #9E812A #2A9E47
split-complementary
#2A479E #9E472A #819E2A
monochromatic
#101C3D #1D316E #2A479E #3A5FCB #6B86D8
Accessibility & contrast
On white
8.42
#2A479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2A479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A479E
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A479E | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a479e; /* rgb */ color: rgb(42, 71, 158); /* oklch */ color: oklch(42.9% 0.146 266.3);
Tailwind
colors: {
custom: {
50: '#7479bb',
500: '#2a479e',
950: '#000000',
},
}SCSS
$custom: #2a479e; $custom-light: #7479bb; $custom-dark: #000000;
JSON
{
"hex": "#2a479e",
"rgb": {
"r": 42,
"g": 71,
"b": 158
},
"hsl": {
"h": 225,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.42858,
"c": 0.14576,
"h": 266.3
},
"luminance": 0.07467
}Semantic roles & 50–950 ramp
primary
#2A479E
secondary
#BEA866
accent
#BB47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81