#2A458C#2A458C
#2A458C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.122 H 265.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A458C |
|---|---|
| RGB | rgb(42, 69, 140) |
| HSL | hsl(223, 54%, 36%) |
| HSV | hsv(223, 70%, 55%) |
| CMYK | cmyk(70%, 50.7%, 0%, 45.1%) |
| CIE-LAB | lab(30.98, 14.94, -42.57) |
| CIE-LCH | lch(30.98, 45.11, 289.34°) |
| OKLab | oklab(41.03% -0.0094 -0.1221) |
| OKLCH | oklch(41.03% 0.122 265.6) |
| XYZ | xyz(7.8149, 6.6412, 25.6759) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.27
Darkish Blue
#014182
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.63
Twilight Blue
#0A437A
ΔE00 4.99
Dusk Blue
#26538D
ΔE00 5.58
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A458C #8C712A
analogous
#2A768C #2A458C #402A8C
triadic
#2A458C #8C2A45 #458C2A
tetradic
#2A458C #8C2A76 #8C712A #2A8C40
square
#2A458C #8C2A76 #8C712A #2A8C40
split-complementary
#2A458C #8C402A #768C2A
monochromatic
#0E172E #1C2E5D #2A458C #385CBB #617FD0
Accessibility & contrast
On white
9.02
#2A458C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A458C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A458C
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A458C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A458C | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4E8F
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a458c; /* rgb */ color: rgb(42, 69, 140); /* oklch */ color: oklch(41.0% 0.122 265.6);
Tailwind
colors: {
custom: {
50: '#7078ae',
500: '#2a458c',
950: '#000000',
},
}SCSS
$custom: #2a458c; $custom-light: #7078ae; $custom-dark: #000000;
JSON
{
"hex": "#2a458c",
"rgb": {
"r": 42,
"g": 69,
"b": 140
},
"hsl": {
"h": 223.469,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.41025,
"c": 0.12247,
"h": 265.6
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#2A458C
secondary
#B59D5C
accent
#B54BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F