#2A479C#2A479C
#2A479C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.143 H 266.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A479C |
|---|---|
| RGB | rgb(42, 71, 156) |
| HSL | hsl(225, 58%, 39%) |
| HSV | hsv(225, 73%, 61%) |
| CMYK | cmyk(73.1%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.70, 19.73, -49.55) |
| CIE-LCH | lch(32.70, 53.33, 291.71°) |
| OKLab | oklab(42.7% -0.0095 -0.1426) |
| OKLCH | oklch(42.7% 0.143 266.2) |
| XYZ | xyz(9.2067, 7.3981, 32.3888) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.91
Cobalt (survey)
#1E488F
ΔE00 3.00
Sapphire
#0F52BA
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.58
Darkish Blue
#014182
ΔE00 5.60
Dusk Blue
#26538D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A479C #9C7F2A
analogous
#2A809C #2A479C #462A9C
triadic
#2A479C #9C2A47 #479C2A
tetradic
#2A479C #9C2A80 #9C7F2A #2A9C46
square
#2A479C #9C2A80 #9C7F2A #2A9C46
split-complementary
#2A479C #9C462A #809C2A
monochromatic
#101B3C #1D316C #2A479C #395ECA #6A85D7
Accessibility & contrast
On white
8.47
#2A479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A479C
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A479C | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a479c; /* rgb */ color: rgb(42, 71, 156); /* oklch */ color: oklch(42.7% 0.143 266.2);
Tailwind
colors: {
custom: {
50: '#7379ba',
500: '#2a479c',
950: '#000000',
},
}SCSS
$custom: #2a479c; $custom-light: #7379ba; $custom-dark: #000000;
JSON
{
"hex": "#2a479c",
"rgb": {
"r": 42,
"g": 71,
"b": 156
},
"hsl": {
"h": 224.737,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.42698,
"c": 0.14293,
"h": 266.2
},
"luminance": 0.07399
}Semantic roles & 50–950 ramp
primary
#2A479C
secondary
#BDA765
accent
#BA47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81