#2A58C9#2A58C9
#2A58C9 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.183 H 264.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58C9 |
|---|---|
| RGB | rgb(42, 88, 201) |
| HSL | hsl(223, 65%, 48%) |
| HSV | hsv(223, 79%, 79%) |
| CMYK | cmyk(79.1%, 56.2%, 0%, 21.2%) |
| CIE-LAB | lab(40.71, 25.64, -63.13) |
| CIE-LCH | lch(40.71, 68.14, 292.11°) |
| OKLab | oklab(49.82% -0.0189 -0.1823) |
| OKLCH | oklch(49.82% 0.183 264.1) |
| XYZ | xyz(14.9834, 11.6870, 56.7131) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.31
Azul
#1D5DEC
ΔE00 4.54
Denim
#1560BD
ΔE00 4.70
Warm Blue
#4B57DB
ΔE00 5.17
Electric Blue
#0652FF
ΔE00 6.69
Royal Blue
#4169E1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58C9 #C99B2A
analogous
#2AA7C9 #2A58C9 #4C2AC9
triadic
#2A58C9 #C92A58 #58C92A
tetradic
#2A58C9 #C92AA7 #C99B2A #2AC94C
square
#2A58C9 #C92AA7 #C99B2A #2AC94C
split-complementary
#2A58C9 #C94C2A #A7C92A
monochromatic
#152C64 #1F4296 #2A58C9 #557CDB #87A3E6
Accessibility & contrast
On white
6.29
#2A58C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2A58C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58C9
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58C9 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a58c9; /* rgb */ color: rgb(42, 88, 201); /* oklch */ color: oklch(49.8% 0.183 264.1);
Tailwind
colors: {
custom: {
50: '#7d86da',
500: '#2a58c9',
950: '#000000',
},
}SCSS
$custom: #2a58c9; $custom-light: #7d86da; $custom-dark: #000000;
JSON
{
"hex": "#2a58c9",
"rgb": {
"r": 42,
"g": 88,
"b": 201
},
"hsl": {
"h": 222.642,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.49816,
"c": 0.18325,
"h": 264.1
},
"luminance": 0.11689
}Semantic roles & 50–950 ramp
primary
#2A58C9
secondary
#D0B87F
accent
#B83FE8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83