#2E5EC2#2E5EC2
#2E5EC2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.166 H 262.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EC2 |
|---|---|
| RGB | rgb(46, 94, 194) |
| HSL | hsl(221, 62%, 47%) |
| HSV | hsv(221, 76%, 76%) |
| CMYK | cmyk(76.3%, 51.5%, 0%, 23.9%) |
| CIE-LAB | lab(41.97, 19.52, -57.04) |
| CIE-LCH | lch(41.97, 60.28, 288.89°) |
| OKLab | oklab(50.65% -0.021 -0.1642) |
| OKLCH | oklch(50.65% 0.166 262.7) |
| XYZ | xyz(14.8635, 12.4796, 52.6539) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 4.18
French Blue
#436BAD
ΔE00 5.02
Azul
#1D5DEC
ΔE00 5.13
Mid Blue
#276AB3
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EC2 #C2922E
analogous
#2EA8C2 #2E5EC2 #482EC2
triadic
#2E5EC2 #C22E5E #5EC22E
tetradic
#2E5EC2 #C22EA8 #C2922E #2EC248
square
#2E5EC2 #C22EA8 #C2922E #2EC248
split-complementary
#2E5EC2 #C2482E #A8C22E
monochromatic
#172E5F #224691 #2E5EC2 #5680D7 #88A5E3
Accessibility & contrast
On white
6.01
#2E5EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2E5EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EC2
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EC2 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e5ec2; /* rgb */ color: rgb(46, 94, 194); /* oklch */ color: oklch(50.6% 0.166 262.7);
Tailwind
colors: {
custom: {
50: '#7c8bd5',
500: '#2e5ec2',
950: '#000000',
},
}SCSS
$custom: #2e5ec2; $custom-light: #7c8bd5; $custom-dark: #000000;
JSON
{
"hex": "#2e5ec2",
"rgb": {
"r": 46,
"g": 94,
"b": 194
},
"hsl": {
"h": 220.541,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.50645,
"c": 0.16551,
"h": 262.7
},
"luminance": 0.12481
}Semantic roles & 50–950 ramp
primary
#2E5EC2
secondary
#CCB37F
accent
#B043E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83