#2A479A#2A479A
#2A479A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.140 H 266.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2A479A |
|---|---|
| RGB | rgb(42, 71, 154) |
| HSL | hsl(224, 57%, 38%) |
| HSV | hsv(224, 73%, 60%) |
| CMYK | cmyk(72.7%, 53.9%, 0%, 39.6%) |
| CIE-LAB | lab(32.55, 18.96, -48.58) |
| CIE-LCH | lch(32.55, 52.15, 291.32°) |
| OKLab | oklab(42.54% -0.0096 -0.1398) |
| OKLCH | oklch(42.54% 0.14 266.1) |
| XYZ | xyz(9.0388, 7.3309, 31.5042) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.76
Cobalt
#0047AB
ΔE00 3.06
Darkish Blue
#014182
ΔE00 5.39
Dusk Blue
#26538D
ΔE00 5.56
Sapphire
#0F52BA
ΔE00 5.58
Sapphire (survey)
#2138AB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A479A #9A7D2A
analogous
#2A7F9A #2A479A #452A9A
triadic
#2A479A #9A2A47 #479A2A
tetradic
#2A479A #9A2A7F #9A7D2A #2A9A45
square
#2A479A #9A2A7F #9A7D2A #2A9A45
split-complementary
#2A479A #9A452A #7F9A2A
monochromatic
#101B3A #1D316A #2A479A #385EC9 #6885D6
Accessibility & contrast
On white
8.51
#2A479A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2A479A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A479A
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A479A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A479A | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 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: #2a479a; /* rgb */ color: rgb(42, 71, 154); /* oklch */ color: oklch(42.5% 0.140 266.1);
Tailwind
colors: {
custom: {
50: '#7379b8',
500: '#2a479a',
950: '#000000',
},
}SCSS
$custom: #2a479a; $custom-light: #7379b8; $custom-dark: #000000;
JSON
{
"hex": "#2a479a",
"rgb": {
"r": 42,
"g": 71,
"b": 154
},
"hsl": {
"h": 224.464,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.42539,
"c": 0.14009,
"h": 266.1
},
"luminance": 0.07332
}Semantic roles & 50–950 ramp
primary
#2A479A
secondary
#BCA563
accent
#B947E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80