#2A5EC3#2A5EC3
#2A5EC3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.168 H 261.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EC3 |
|---|---|
| RGB | rgb(42, 94, 195) |
| HSL | hsl(220, 65%, 46%) |
| HSV | hsv(220, 78%, 76%) |
| CMYK | cmyk(78.5%, 51.8%, 0%, 23.5%) |
| CIE-LAB | lab(41.90, 19.45, -57.73) |
| CIE-LCH | lch(41.90, 60.92, 288.62°) |
| OKLab | oklab(50.58% -0.0237 -0.1663) |
| OKLCH | oklch(50.58% 0.168 261.9) |
| XYZ | xyz(14.8043, 12.4360, 53.2393) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.56
Sapphire
#0F52BA
ΔE00 4.13
French Blue
#436BAD
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.13
Mid Blue
#276AB3
ΔE00 5.56
Royal Blue
#4169E1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EC3 #C38F2A
analogous
#2AABC3 #2A5EC3 #432AC3
triadic
#2A5EC3 #C32A5E #5EC32A
tetradic
#2A5EC3 #C32AAB #C38F2A #2AC343
square
#2A5EC3 #C32AAB #C38F2A #2AC343
split-complementary
#2A5EC3 #C3432A #ABC32A
monochromatic
#142D5E #1F4691 #2A5EC3 #517FD9 #83A4E4
Accessibility & contrast
On white
6.02
#2A5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2A5EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EC3
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EC3 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196AC7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a5ec3; /* rgb */ color: rgb(42, 94, 195); /* oklch */ color: oklch(50.6% 0.168 261.9);
Tailwind
colors: {
custom: {
50: '#7b8bd6',
500: '#2a5ec3',
950: '#000000',
},
}SCSS
$custom: #2a5ec3; $custom-light: #7b8bd6; $custom-dark: #000000;
JSON
{
"hex": "#2a5ec3",
"rgb": {
"r": 42,
"g": 94,
"b": 195
},
"hsl": {
"h": 219.608,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.50577,
"c": 0.16796,
"h": 261.9
},
"luminance": 0.12438
}Semantic roles & 50–950 ramp
primary
#2A5EC3
secondary
#CDB27B
accent
#AF40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83