#2E5DC2#2E5DC2
#2E5DC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.167 H 263.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5DC2 |
|---|---|
| RGB | rgb(46, 93, 194) |
| HSL | hsl(221, 62%, 47%) |
| HSV | hsv(221, 76%, 76%) |
| CMYK | cmyk(76.3%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(41.69, 20.17, -57.48) |
| CIE-LCH | lch(41.69, 60.92, 289.33°) |
| OKLab | oklab(50.44% -0.0203 -0.1655) |
| OKLCH | oklch(50.44% 0.167 263) |
| XYZ | xyz(14.7752, 12.3029, 52.6245) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.91
Azul
#1D5DEC
ΔE00 5.11
French Blue
#436BAD
ΔE00 5.33
Denim Blue
#3B5B92
ΔE00 5.94
Mid Blue
#276AB3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5DC2 #C2932E
analogous
#2EA7C2 #2E5DC2 #492EC2
triadic
#2E5DC2 #C22E5D #5DC22E
tetradic
#2E5DC2 #C22EA7 #C2932E #2EC249
square
#2E5DC2 #C22EA7 #C2932E #2EC249
split-complementary
#2E5DC2 #C2492E #A7C22E
monochromatic
#172E5F #224591 #2E5DC2 #567FD7 #88A5E3
Accessibility & contrast
On white
6.07
#2E5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2E5DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5DC2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5DC2 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186AC6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2e5dc2; /* rgb */ color: rgb(46, 93, 194); /* oklch */ color: oklch(50.4% 0.167 263.0);
Tailwind
colors: {
custom: {
50: '#7c8ad5',
500: '#2e5dc2',
950: '#000000',
},
}SCSS
$custom: #2e5dc2; $custom-light: #7c8ad5; $custom-dark: #000000;
JSON
{
"hex": "#2e5dc2",
"rgb": {
"r": 46,
"g": 93,
"b": 194
},
"hsl": {
"h": 220.946,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.50436,
"c": 0.16674,
"h": 263
},
"luminance": 0.12305
}Semantic roles & 50–950 ramp
primary
#2E5DC2
secondary
#CCB47F
accent
#B143E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83