#2E5FC1#2E5FC1
#2E5FC1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.163 H 262.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5FC1 |
|---|---|
| RGB | rgb(46, 95, 193) |
| HSL | hsl(220, 62%, 47%) |
| HSV | hsv(220, 76%, 76%) |
| CMYK | cmyk(76.2%, 50.8%, 0%, 24.3%) |
| CIE-LAB | lab(42.18, 18.49, -56.12) |
| CIE-LCH | lch(42.18, 59.09, 288.23°) |
| OKLab | oklab(50.78% -0.0219 -0.1615) |
| OKLCH | oklch(50.78% 0.163 262.3) |
| XYZ | xyz(14.8411, 12.6138, 52.0943) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.56
Sapphire
#0F52BA
ΔE00 4.43
French Blue
#436BAD
ΔE00 4.68
Azul
#1D5DEC
ΔE00 5.31
Mid Blue
#276AB3
ΔE00 5.35
Royal Blue
#4169E1
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5FC1 #C1902E
analogous
#2EA9C1 #2E5FC1 #472EC1
triadic
#2E5FC1 #C12E5F #5FC12E
tetradic
#2E5FC1 #C12EA9 #C1902E #2EC147
square
#2E5FC1 #C12EA9 #C1902E #2EC147
split-complementary
#2E5FC1 #C1472E #A9C12E
monochromatic
#162E5E #224790 #2E5FC1 #5681D7 #87A5E2
Accessibility & contrast
On white
5.96
#2E5FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2E5FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5FC1
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5FC1 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e5fc1; /* rgb */ color: rgb(46, 95, 193); /* oklch */ color: oklch(50.8% 0.163 262.3);
Tailwind
colors: {
custom: {
50: '#7c8bd4',
500: '#2e5fc1',
950: '#000000',
},
}SCSS
$custom: #2e5fc1; $custom-light: #7c8bd4; $custom-dark: #000000;
JSON
{
"hex": "#2e5fc1",
"rgb": {
"r": 46,
"g": 95,
"b": 193
},
"hsl": {
"h": 220,
"s": 61.506,
"l": 46.863
},
"oklch": {
"l": 0.50781,
"c": 0.16294,
"h": 262.3
},
"luminance": 0.12616
}Semantic roles & 50–950 ramp
primary
#2E5FC1
secondary
#CCB27F
accent
#AF43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83