#2A5DC1#2A5DC1
#2A5DC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.166 H 262.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5DC1 |
|---|---|
| RGB | rgb(42, 93, 193) |
| HSL | hsl(220, 64%, 46%) |
| HSV | hsv(220, 78%, 76%) |
| CMYK | cmyk(78.2%, 51.8%, 0%, 24.3%) |
| CIE-LAB | lab(41.48, 19.34, -57.25) |
| CIE-LCH | lch(41.48, 60.42, 288.66°) |
| OKLab | oklab(50.22% -0.0232 -0.1649) |
| OKLCH | oklch(50.22% 0.166 262) |
| XYZ | xyz(14.4914, 12.1695, 52.0269) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.64
Sapphire
#0F52BA
ΔE00 3.76
French Blue
#436BAD
ΔE00 5.27
Azul
#1D5DEC
ΔE00 5.36
Mid Blue
#276AB3
ΔE00 5.77
Denim Blue
#3B5B92
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5DC1 #C18E2A
analogous
#2AA8C1 #2A5DC1 #422AC1
triadic
#2A5DC1 #C12A5D #5DC12A
tetradic
#2A5DC1 #C12AA8 #C18E2A #2AC142
square
#2A5DC1 #C12AA8 #C18E2A #2AC142
split-complementary
#2A5DC1 #C1422A #A8C12A
monochromatic
#142D5C #1F458F #2A5DC1 #4F7ED9 #82A3E4
Accessibility & contrast
On white
6.11
#2A5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2A5DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5DC1
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5DC1 | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2a5dc1; /* rgb */ color: rgb(42, 93, 193); /* oklch */ color: oklch(50.2% 0.166 262.0);
Tailwind
colors: {
custom: {
50: '#7b8ad4',
500: '#2a5dc1',
950: '#000000',
},
}SCSS
$custom: #2a5dc1; $custom-light: #7b8ad4; $custom-dark: #000000;
JSON
{
"hex": "#2a5dc1",
"rgb": {
"r": 42,
"g": 93,
"b": 193
},
"hsl": {
"h": 219.735,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.50215,
"c": 0.16649,
"h": 262
},
"luminance": 0.12171
}Semantic roles & 50–950 ramp
primary
#2A5DC1
secondary
#CDB17A
accent
#AF41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83