#2A5BC7#2A5BC7
#2A5BC7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.177 H 263.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BC7 |
|---|---|
| RGB | rgb(42, 91, 199) |
| HSL | hsl(221, 65%, 47%) |
| HSV | hsv(221, 79%, 78%) |
| CMYK | cmyk(78.9%, 54.3%, 0%, 22%) |
| CIE-LAB | lab(41.37, 22.93, -60.91) |
| CIE-LCH | lch(41.37, 65.09, 290.63°) |
| OKLab | oklab(50.26% -0.0211 -0.1757) |
| OKLCH | oklch(50.26% 0.177 263.1) |
| XYZ | xyz(15.0010, 12.0962, 55.5659) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.61
Denim
#1560BD
ΔE00 3.69
Azul
#1D5DEC
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 5.84
French Blue
#436BAD
ΔE00 6.15
Royal Blue
#4169E1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BC7 #C7962A
analogous
#2AA9C7 #2A5BC7 #482AC7
triadic
#2A5BC7 #C72A5B #5BC72A
tetradic
#2A5BC7 #C72AA9 #C7962A #2AC748
square
#2A5BC7 #C72AA9 #C7962A #2AC748
split-complementary
#2A5BC7 #C7482A #A9C72A
monochromatic
#152D62 #1F4494 #2A5BC7 #537EDB #86A4E5
Accessibility & contrast
On white
6.14
#2A5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#2A5BC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BC7
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BC7 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2a5bc7; /* rgb */ color: rgb(42, 91, 199); /* oklch */ color: oklch(50.3% 0.177 263.1);
Tailwind
colors: {
custom: {
50: '#7c88d9',
500: '#2a5bc7',
950: '#000000',
},
}SCSS
$custom: #2a5bc7; $custom-light: #7c88d9; $custom-dark: #000000;
JSON
{
"hex": "#2a5bc7",
"rgb": {
"r": 42,
"g": 91,
"b": 199
},
"hsl": {
"h": 221.274,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.50264,
"c": 0.17696,
"h": 263.1
},
"luminance": 0.12098
}Semantic roles & 50–950 ramp
primary
#2A5BC7
secondary
#CFB67E
accent
#B440E8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83