#2E5DC7#2E5DC7
#2E5DC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.173 H 263.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5DC7 |
|---|---|
| RGB | rgb(46, 93, 199) |
| HSL | hsl(222, 62%, 48%) |
| HSV | hsv(222, 77%, 78%) |
| CMYK | cmyk(76.9%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(42.05, 22.06, -59.81) |
| CIE-LCH | lch(42.05, 63.74, 290.24°) |
| OKLab | oklab(50.82% -0.0198 -0.1723) |
| OKLCH | oklch(50.82% 0.173 263.5) |
| XYZ | xyz(15.3462, 12.5313, 55.6317) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 4.20
Azul
#1D5DEC
ΔE00 4.46
French Blue
#436BAD
ΔE00 5.60
Royal Blue
#4169E1
ΔE00 5.63
Warm Blue
#4B57DB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5DC7 #C7982E
analogous
#2EA9C7 #2E5DC7 #4C2EC7
triadic
#2E5DC7 #C72E5D #5DC72E
tetradic
#2E5DC7 #C72EA9 #C7982E #2EC74C
square
#2E5DC7 #C72EA9 #C7982E #2EC74C
split-complementary
#2E5DC7 #C74C2E #A9C72E
monochromatic
#172F64 #234695 #2E5DC7 #5981D9 #8BA7E4
Accessibility & contrast
On white
5.99
#2E5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2E5DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5DC7
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5DC7 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086BCB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e5dc7; /* rgb */ color: rgb(46, 93, 199); /* oklch */ color: oklch(50.8% 0.173 263.5);
Tailwind
colors: {
custom: {
50: '#7d8ad9',
500: '#2e5dc7',
950: '#000000',
},
}SCSS
$custom: #2e5dc7; $custom-light: #7d8ad9; $custom-dark: #000000;
JSON
{
"hex": "#2e5dc7",
"rgb": {
"r": 46,
"g": 93,
"b": 199
},
"hsl": {
"h": 221.569,
"s": 62.449,
"l": 48.039
},
"oklch": {
"l": 0.50818,
"c": 0.17347,
"h": 263.5
},
"luminance": 0.12533
}Semantic roles & 50–950 ramp
primary
#2E5DC7
secondary
#CEB783
accent
#B342E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83