#2A5BC3#2A5BC3
#2A5BC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.172 H 262.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BC3 |
|---|---|
| RGB | rgb(42, 91, 195) |
| HSL | hsl(221, 65%, 46%) |
| HSV | hsv(221, 78%, 76%) |
| CMYK | cmyk(78.5%, 53.3%, 0%, 23.5%) |
| CIE-LAB | lab(41.08, 21.40, -59.07) |
| CIE-LCH | lch(41.08, 62.83, 289.92°) |
| OKLab | oklab(49.95% -0.0215 -0.1703) |
| OKLCH | oklch(49.95% 0.172 262.8) |
| XYZ | xyz(14.5427, 11.9128, 53.1521) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.33
Denim
#1560BD
ΔE00 3.35
Azul
#1D5DEC
ΔE00 5.10
French Blue
#436BAD
ΔE00 5.96
Denim Blue
#3B5B92
ΔE00 6.04
Warm Blue
#4B57DB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BC3 #C3922A
analogous
#2AA8C3 #2A5BC3 #452AC3
triadic
#2A5BC3 #C32A5B #5BC32A
tetradic
#2A5BC3 #C32AA8 #C3922A #2AC345
square
#2A5BC3 #C32AA8 #C3922A #2AC345
split-complementary
#2A5BC3 #C3452A #A8C32A
monochromatic
#142C5E #1F4491 #2A5BC3 #517DD9 #83A2E4
Accessibility & contrast
On white
6.21
#2A5BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2A5BC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BC3
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BC3 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0668C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a5bc3; /* rgb */ color: rgb(42, 91, 195); /* oklch */ color: oklch(50.0% 0.172 262.8);
Tailwind
colors: {
custom: {
50: '#7b88d6',
500: '#2a5bc3',
950: '#000000',
},
}SCSS
$custom: #2a5bc3; $custom-light: #7b88d6; $custom-dark: #000000;
JSON
{
"hex": "#2a5bc3",
"rgb": {
"r": 42,
"g": 91,
"b": 195
},
"hsl": {
"h": 220.784,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.49951,
"c": 0.17161,
"h": 262.8
},
"luminance": 0.11915
}Semantic roles & 50–950 ramp
primary
#2A5BC3
secondary
#CDB37B
accent
#B240E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83