#2A459F#2A459F
#2A459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.150 H 267.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A459F |
|---|---|
| RGB | rgb(42, 69, 159) |
| HSL | hsl(226, 58%, 39%) |
| HSV | hsv(226, 74%, 62%) |
| CMYK | cmyk(73.6%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(32.37, 22.23, -51.89) |
| CIE-LCH | lch(32.37, 56.45, 293.19°) |
| OKLab | oklab(42.52% -0.0076 -0.1495) |
| OKLCH | oklch(42.52% 0.15 267.1) |
| XYZ | xyz(9.3388, 7.2507, 33.7015) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Cobalt (survey)
#1E488F
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.67
Blueberry
#464196
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.70
Sapphire
#0F52BA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A459F #9F842A
analogous
#2A809F #2A459F #4A2A9F
triadic
#2A459F #9F2A45 #459F2A
tetradic
#2A459F #9F2A80 #9F842A #2A9F4A
square
#2A459F #9F2A80 #9F842A #2A9F4A
split-complementary
#2A459F #9F4A2A #809F2A
monochromatic
#101B3E #1D306F #2A459F #3B5CCB #6B84D8
Accessibility & contrast
On white
8.57
#2A459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2A459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A459F
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A459F | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a459f; /* rgb */ color: rgb(42, 69, 159); /* oklch */ color: oklch(42.5% 0.150 267.1);
Tailwind
colors: {
custom: {
50: '#7478bc',
500: '#2a459f',
950: '#000000',
},
}SCSS
$custom: #2a459f; $custom-light: #7478bc; $custom-dark: #000000;
JSON
{
"hex": "#2a459f",
"rgb": {
"r": 42,
"g": 69,
"b": 159
},
"hsl": {
"h": 226.154,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.42524,
"c": 0.14972,
"h": 267.1
},
"luminance": 0.07252
}Semantic roles & 50–950 ramp
primary
#2A459F
secondary
#BFAA66
accent
#BE46E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81