#2E5FC2#2E5FC2
#2E5FC2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.164 H 262.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5FC2 |
|---|---|
| RGB | rgb(46, 95, 194) |
| HSL | hsl(220, 62%, 47%) |
| HSV | hsv(220, 76%, 76%) |
| CMYK | cmyk(76.3%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(42.24, 18.87, -56.59) |
| CIE-LCH | lch(42.24, 59.65, 288.44°) |
| OKLab | oklab(50.86% -0.0218 -0.1628) |
| OKLCH | oklch(50.86% 0.164 262.4) |
| XYZ | xyz(14.9530, 12.6586, 52.6838) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.65
Sapphire
#0F52BA
ΔE00 4.46
French Blue
#436BAD
ΔE00 4.73
Azul
#1D5DEC
ΔE00 5.18
Mid Blue
#276AB3
ΔE00 5.42
Royal Blue
#4169E1
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5FC2 #C2912E
analogous
#2EA9C2 #2E5FC2 #472EC2
triadic
#2E5FC2 #C22E5F #5FC22E
tetradic
#2E5FC2 #C22EA9 #C2912E #2EC247
square
#2E5FC2 #C22EA9 #C2912E #2EC247
split-complementary
#2E5FC2 #C2472E #A9C22E
monochromatic
#172F5F #224791 #2E5FC2 #5681D7 #88A6E3
Accessibility & contrast
On white
5.95
#2E5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2E5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5FC2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5FC2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e5fc2; /* rgb */ color: rgb(46, 95, 194); /* oklch */ color: oklch(50.9% 0.164 262.4);
Tailwind
colors: {
custom: {
50: '#7c8bd5',
500: '#2e5fc2',
950: '#000000',
},
}SCSS
$custom: #2e5fc2; $custom-light: #7c8bd5; $custom-dark: #000000;
JSON
{
"hex": "#2e5fc2",
"rgb": {
"r": 46,
"g": 95,
"b": 194
},
"hsl": {
"h": 220.135,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.50855,
"c": 0.16429,
"h": 262.4
},
"luminance": 0.1266
}Semantic roles & 50–950 ramp
primary
#2E5FC2
secondary
#CCB37F
accent
#AF43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83