#2A58A8#2A58A8
#2A58A8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.138 H 260.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58A8 |
|---|---|
| RGB | rgb(42, 88, 168) |
| HSL | hsl(218, 60%, 41%) |
| HSV | hsv(218, 75%, 66%) |
| CMYK | cmyk(75%, 47.6%, 0%, 34.1%) |
| CIE-LAB | lab(38.37, 13.01, -47.58) |
| CIE-LCH | lch(38.37, 49.33, 285.29°) |
| OKLab | oklab(47.29% -0.0226 -0.1365) |
| OKLCH | oklch(47.29% 0.138 260.6) |
| XYZ | xyz(11.5099, 10.2976, 38.4192) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.02
Denim Blue
#3B5B92
ΔE00 3.28
Dusk Blue
#26538D
ΔE00 3.76
Denim
#1560BD
ΔE00 3.88
Light Navy Blue
#2E5A88
ΔE00 4.28
Dusky Blue
#475F94
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58A8 #A87A2A
analogous
#2A97A8 #2A58A8 #3B2AA8
triadic
#2A58A8 #A82A58 #58A82A
tetradic
#2A58A8 #A82A97 #A87A2A #2AA83B
square
#2A58A8 #A82A97 #A87A2A #2AA83B
split-complementary
#2A58A8 #A83B2A #97A82A
monochromatic
#122546 #1E3E77 #2A58A8 #4074CF #7198DB
Accessibility & contrast
On white
6.86
#2A58A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A58A8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58A8
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58A8 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D60AB
Deuteranopia (green-blind)
#0B55A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a58a8; /* rgb */ color: rgb(42, 88, 168); /* oklch */ color: oklch(47.3% 0.138 260.6);
Tailwind
colors: {
custom: {
50: '#7586c2',
500: '#2a58a8',
950: '#000000',
},
}SCSS
$custom: #2a58a8; $custom-light: #7586c2; $custom-dark: #000000;
JSON
{
"hex": "#2a58a8",
"rgb": {
"r": 42,
"g": 88,
"b": 168
},
"hsl": {
"h": 218.095,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.47291,
"c": 0.13838,
"h": 260.6
},
"luminance": 0.10299
}Semantic roles & 50–950 ramp
primary
#2A58A8
secondary
#C3A36B
accent
#A945E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81