#2A58B3#2A58B3
#2A58B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.154 H 262.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B3 |
|---|---|
| RGB | rgb(42, 88, 179) |
| HSL | hsl(220, 62%, 43%) |
| HSV | hsv(220, 77%, 70%) |
| CMYK | cmyk(76.5%, 50.8%, 0%, 29.8%) |
| CIE-LAB | lab(39.11, 17.24, -52.89) |
| CIE-LCH | lch(39.11, 55.63, 288.06°) |
| OKLab | oklab(48.1% -0.021 -0.1521) |
| OKLCH | oklch(48.1% 0.154 262.1) |
| XYZ | xyz(12.5783, 10.7249, 44.0463) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.26
Denim
#1560BD
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 5.13
Light Navy Blue
#2E5A88
ΔE00 5.49
Cobalt
#0047AB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B3 #B3852A
analogous
#2A9CB3 #2A58B3 #402AB3
triadic
#2A58B3 #B32A58 #58B32A
tetradic
#2A58B3 #B32A9C #B3852A #2AB340
square
#2A58B3 #B32A9C #B3852A #2AB340
split-complementary
#2A58B3 #B3402A #9CB32A
monochromatic
#132750 #1E4081 #2A58B3 #4676D4 #789BDF
Accessibility & contrast
On white
6.68
#2A58B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2A58B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B3
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B3 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F63B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a58b3; /* rgb */ color: rgb(42, 88, 179); /* oklch */ color: oklch(48.1% 0.154 262.1);
Tailwind
colors: {
custom: {
50: '#7886ca',
500: '#2a58b3',
950: '#000000',
},
}SCSS
$custom: #2a58b3; $custom-light: #7886ca; $custom-dark: #000000;
JSON
{
"hex": "#2a58b3",
"rgb": {
"r": 42,
"g": 88,
"b": 179
},
"hsl": {
"h": 219.854,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.48096,
"c": 0.15359,
"h": 262.1
},
"luminance": 0.10726
}Semantic roles & 50–950 ramp
primary
#2A58B3
secondary
#C7AA72
accent
#AF43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82