#2E5EB4#2E5EB4
#2E5EB4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.146 H 261.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EB4 |
|---|---|
| RGB | rgb(46, 94, 180) |
| HSL | hsl(219, 59%, 44%) |
| HSV | hsv(219, 74%, 71%) |
| CMYK | cmyk(74.4%, 47.8%, 0%, 29.4%) |
| CIE-LAB | lab(41.02, 14.21, -50.39) |
| CIE-LCH | lch(41.02, 52.35, 285.74°) |
| OKLab | oklab(49.62% -0.0229 -0.1446) |
| OKLCH | oklch(49.62% 0.146 261) |
| XYZ | xyz(13.3647, 11.8801, 44.7599) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.17
Sapphire
#0F52BA
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 4.41
French Blue
#436BAD
ΔE00 4.57
Mid Blue
#276AB3
ΔE00 5.04
Denim (survey)
#3B638C
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EB4 #B4842E
analogous
#2EA1B4 #2E5EB4 #412EB4
triadic
#2E5EB4 #B42E5E #5EB42E
tetradic
#2E5EB4 #B42EA1 #B4842E #2EB441
square
#2E5EB4 #B42EA1 #B4842E #2EB441
split-complementary
#2E5EB4 #B4412E #A1B42E
monochromatic
#152B53 #224583 #2E5EB4 #4E7DD2 #7EA1DE
Accessibility & contrast
On white
6.22
#2E5EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2E5EB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EB4
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EB4 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F67B7
Deuteranopia (green-blind)
#085BB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2e5eb4; /* rgb */ color: rgb(46, 94, 180); /* oklch */ color: oklch(49.6% 0.146 261.0);
Tailwind
colors: {
custom: {
50: '#798bcb',
500: '#2e5eb4',
950: '#000000',
},
}SCSS
$custom: #2e5eb4; $custom-light: #798bcb; $custom-dark: #000000;
JSON
{
"hex": "#2e5eb4",
"rgb": {
"r": 46,
"g": 94,
"b": 180
},
"hsl": {
"h": 218.507,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.49622,
"c": 0.14642,
"h": 261
},
"luminance": 0.11882
}Semantic roles & 50–950 ramp
primary
#2E5EB4
secondary
#C7AA77
accent
#AA45E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82