#2A458B#2A458B
#2A458B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.121 H 265.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A458B |
|---|---|
| RGB | rgb(42, 69, 139) |
| HSL | hsl(223, 54%, 35%) |
| HSV | hsv(223, 70%, 55%) |
| CMYK | cmyk(69.8%, 50.4%, 0%, 45.5%) |
| CIE-LAB | lab(30.91, 14.55, -42.07) |
| CIE-LCH | lch(30.91, 44.51, 289.08°) |
| OKLab | oklab(40.95% -0.0095 -0.1206) |
| OKLCH | oklch(40.95% 0.121 265.5) |
| XYZ | xyz(7.7415, 6.6118, 25.2893) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.26
Darkish Blue
#014182
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.74
Twilight Blue
#0A437A
ΔE00 4.90
Dusk Blue
#26538D
ΔE00 5.55
Blueberry
#464196
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A458B #8B702A
analogous
#2A758B #2A458B #3F2A8B
triadic
#2A458B #8B2A45 #458B2A
tetradic
#2A458B #8B2A75 #8B702A #2A8B3F
square
#2A458B #8B2A75 #8B702A #2A8B3F
split-complementary
#2A458B #8B3F2A #758B2A
monochromatic
#0E162D #1C2E5C #2A458B #385CBA #607FCF
Accessibility & contrast
On white
9.04
#2A458B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2A458B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A458B
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A458B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A458B | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#03458A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a458b; /* rgb */ color: rgb(42, 69, 139); /* oklch */ color: oklch(40.9% 0.121 265.5);
Tailwind
colors: {
custom: {
50: '#7078ad',
500: '#2a458b',
950: '#000000',
},
}SCSS
$custom: #2a458b; $custom-light: #7078ad; $custom-dark: #000000;
JSON
{
"hex": "#2a458b",
"rgb": {
"r": 42,
"g": 69,
"b": 139
},
"hsl": {
"h": 223.299,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.4095,
"c": 0.121,
"h": 265.5
},
"luminance": 0.06613
}Semantic roles & 50–950 ramp
primary
#2A458B
secondary
#B59C5C
accent
#B44BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F