#2A459B#2A459B
#2A459B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.144 H 266.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A459B |
|---|---|
| RGB | rgb(42, 69, 155) |
| HSL | hsl(226, 57%, 39%) |
| HSV | hsv(226, 73%, 61%) |
| CMYK | cmyk(72.9%, 55.5%, 0%, 39.2%) |
| CIE-LAB | lab(32.07, 20.70, -49.97) |
| CIE-LCH | lch(32.07, 54.08, 292.50°) |
| OKLab | oklab(42.2% -0.0079 -0.1439) |
| OKLCH | oklch(42.2% 0.144 266.9) |
| XYZ | xyz(8.9973, 7.1141, 31.9030) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 5.05
Blueberry
#464196
ΔE00 5.38
Darkish Blue
#014182
ΔE00 5.65
Sapphire
#0F52BA
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A459B #9B802A
analogous
#2A7D9B #2A459B #472A9B
triadic
#2A459B #9B2A45 #459B2A
tetradic
#2A459B #9B2A7D #9B802A #2A9B47
square
#2A459B #9B2A7D #9B802A #2A9B47
split-complementary
#2A459B #9B472A #7D9B2A
monochromatic
#101A3B #1D306B #2A459B #395BC9 #6983D6
Accessibility & contrast
On white
8.67
#2A459B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2A459B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A459B
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A459B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A459B | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a459b; /* rgb */ color: rgb(42, 69, 155); /* oklch */ color: oklch(42.2% 0.144 266.9);
Tailwind
colors: {
custom: {
50: '#7378b9',
500: '#2a459b',
950: '#000000',
},
}SCSS
$custom: #2a459b; $custom-light: #7378b9; $custom-dark: #000000;
JSON
{
"hex": "#2a459b",
"rgb": {
"r": 42,
"g": 69,
"b": 155
},
"hsl": {
"h": 225.664,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.42198,
"c": 0.1441,
"h": 266.9
},
"luminance": 0.07115
}Semantic roles & 50–950 ramp
primary
#2A459B
secondary
#BDA864
accent
#BC47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80