#2A58AA#2A58AA
#2A58AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.141 H 260.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58AA |
|---|---|
| RGB | rgb(42, 88, 170) |
| HSL | hsl(218, 60%, 42%) |
| HSV | hsv(218, 75%, 67%) |
| CMYK | cmyk(75.3%, 48.2%, 0%, 33.3%) |
| CIE-LAB | lab(38.50, 13.78, -48.56) |
| CIE-LCH | lch(38.50, 50.48, 285.84°) |
| OKLab | oklab(47.44% -0.0223 -0.1394) |
| OKLCH | oklch(47.44% 0.141 260.9) |
| XYZ | xyz(11.6977, 10.3727, 39.4080) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.84
Denim Blue
#3B5B92
ΔE00 3.46
Denim
#1560BD
ΔE00 3.81
Dusk Blue
#26538D
ΔE00 4.01
Light Navy Blue
#2E5A88
ΔE00 4.50
Dusky Blue
#475F94
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58AA #AA7C2A
analogous
#2A98AA #2A58AA #3C2AAA
triadic
#2A58AA #AA2A58 #58AA2A
tetradic
#2A58AA #AA2A98 #AA7C2A #2AAA3C
square
#2A58AA #AA2A98 #AA7C2A #2AAA3C
split-complementary
#2A58AA #AA3C2A #98AA2A
monochromatic
#122548 #1E3F79 #2A58AA #4174D0 #7298DC
Accessibility & contrast
On white
6.83
#2A58AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2A58AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58AA
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58AA | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a58aa; /* rgb */ color: rgb(42, 88, 170); /* oklch */ color: oklch(47.4% 0.141 260.9);
Tailwind
colors: {
custom: {
50: '#7686c4',
500: '#2a58aa',
950: '#000000',
},
}SCSS
$custom: #2a58aa; $custom-light: #7686c4; $custom-dark: #000000;
JSON
{
"hex": "#2a58aa",
"rgb": {
"r": 42,
"g": 88,
"b": 170
},
"hsl": {
"h": 218.438,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.47435,
"c": 0.14117,
"h": 260.9
},
"luminance": 0.10374
}Semantic roles & 50–950 ramp
primary
#2A58AA
secondary
#C3A46C
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82