#2A459A#2A459A
#2A459A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.143 H 266.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A459A |
|---|---|
| RGB | rgb(42, 69, 154) |
| HSL | hsl(226, 57%, 38%) |
| HSV | hsv(226, 73%, 60%) |
| CMYK | cmyk(72.7%, 55.2%, 0%, 39.6%) |
| CIE-LAB | lab(31.99, 20.31, -49.48) |
| CIE-LCH | lch(31.99, 53.49, 292.32°) |
| OKLab | oklab(42.12% -0.0079 -0.1424) |
| OKLCH | oklch(42.12% 0.143 266.8) |
| XYZ | xyz(8.9137, 7.0807, 31.4625) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.28
Sapphire (survey)
#2138AB
ΔE00 5.15
Blueberry
#464196
ΔE00 5.41
Darkish Blue
#014182
ΔE00 5.54
Sapphire
#0F52BA
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A459A #9A7F2A
analogous
#2A7D9A #2A459A #472A9A
triadic
#2A459A #9A2A45 #459A2A
tetradic
#2A459A #9A2A7D #9A7F2A #2A9A47
square
#2A459A #9A2A7D #9A7F2A #2A9A47
split-complementary
#2A459A #9A472A #7D9A2A
monochromatic
#101A3A #1D2F6A #2A459A #385BC9 #6883D6
Accessibility & contrast
On white
8.69
#2A459A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2A459A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A459A
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A459A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A459A | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a459a; /* rgb */ color: rgb(42, 69, 154); /* oklch */ color: oklch(42.1% 0.143 266.8);
Tailwind
colors: {
custom: {
50: '#7378b8',
500: '#2a459a',
950: '#000000',
},
}SCSS
$custom: #2a459a; $custom-light: #7378b8; $custom-dark: #000000;
JSON
{
"hex": "#2a459a",
"rgb": {
"r": 42,
"g": 69,
"b": 154
},
"hsl": {
"h": 225.536,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.42117,
"c": 0.14267,
"h": 266.8
},
"luminance": 0.07082
}Semantic roles & 50–950 ramp
primary
#2A459A
secondary
#BCA763
accent
#BC47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80