#2A459C#2A459C
#2A459C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.146 H 266.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A459C |
|---|---|
| RGB | rgb(42, 69, 156) |
| HSL | hsl(226, 58%, 39%) |
| HSV | hsv(226, 73%, 61%) |
| CMYK | cmyk(73.1%, 55.8%, 0%, 38.8%) |
| CIE-LAB | lab(32.14, 21.08, -50.45) |
| CIE-LCH | lch(32.14, 54.68, 292.68°) |
| OKLab | oklab(42.28% -0.0078 -0.1453) |
| OKLCH | oklch(42.28% 0.146 266.9) |
| XYZ | xyz(9.0816, 7.1478, 32.3471) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 3.44
Sapphire (survey)
#2138AB
ΔE00 4.95
Blueberry
#464196
ΔE00 5.36
Darkish Blue
#014182
ΔE00 5.76
Sapphire
#0F52BA
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A459C #9C812A
analogous
#2A7E9C #2A459C #482A9C
triadic
#2A459C #9C2A45 #459C2A
tetradic
#2A459C #9C2A7E #9C812A #2A9C48
square
#2A459C #9C2A7E #9C812A #2A9C48
split-complementary
#2A459C #9C482A #7E9C2A
monochromatic
#101A3C #1D306C #2A459C #395CCA #6A83D7
Accessibility & contrast
On white
8.64
#2A459C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A459C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A459C
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A459C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A459C | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a459c; /* rgb */ color: rgb(42, 69, 156); /* oklch */ color: oklch(42.3% 0.146 266.9);
Tailwind
colors: {
custom: {
50: '#7378ba',
500: '#2a459c',
950: '#000000',
},
}SCSS
$custom: #2a459c; $custom-light: #7378ba; $custom-dark: #000000;
JSON
{
"hex": "#2a459c",
"rgb": {
"r": 42,
"g": 69,
"b": 156
},
"hsl": {
"h": 225.789,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.42279,
"c": 0.14551,
"h": 266.9
},
"luminance": 0.07149
}Semantic roles & 50–950 ramp
primary
#2A459C
secondary
#BDA865
accent
#BC47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81