#2E5EB0#2E5EB0
#2E5EB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.141 H 260.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EB0 |
|---|---|
| RGB | rgb(46, 94, 176) |
| HSL | hsl(218, 59%, 44%) |
| HSV | hsv(218, 74%, 69%) |
| CMYK | cmyk(73.9%, 46.6%, 0%, 31%) |
| CIE-LAB | lab(40.77, 12.69, -48.46) |
| CIE-LCH | lch(40.77, 50.09, 284.67°) |
| OKLab | oklab(49.34% -0.0236 -0.1389) |
| OKLCH | oklch(49.34% 0.141 260.4) |
| XYZ | xyz(12.9631, 11.7194, 42.6448) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.22
Denim Blue
#3B5B92
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.18
French Blue
#436BAD
ΔE00 4.56
Denim (survey)
#3B638C
ΔE00 4.73
Mid Blue
#276AB3
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EB0 #B0802E
analogous
#2E9FB0 #2E5EB0 #3F2EB0
triadic
#2E5EB0 #B02E5E #5EB02E
tetradic
#2E5EB0 #B02E9F #B0802E #2EB03F
square
#2E5EB0 #B02E9F #B0802E #2EB03F
split-complementary
#2E5EB0 #B03F2E #9FB02E
monochromatic
#152A4F #21447F #2E5EB0 #4B7CD0 #7CA0DD
Accessibility & contrast
On white
6.28
#2E5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2E5EB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EB0
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EB0 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3366B3
Deuteranopia (green-blind)
#155BAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2e5eb0; /* rgb */ color: rgb(46, 94, 176); /* oklch */ color: oklch(49.3% 0.141 260.4);
Tailwind
colors: {
custom: {
50: '#788bc8',
500: '#2e5eb0',
950: '#000000',
},
}SCSS
$custom: #2e5eb0; $custom-light: #788bc8; $custom-dark: #000000;
JSON
{
"hex": "#2e5eb0",
"rgb": {
"r": 46,
"g": 94,
"b": 176
},
"hsl": {
"h": 217.846,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.49341,
"c": 0.14091,
"h": 260.4
},
"luminance": 0.11721
}Semantic roles & 50–950 ramp
primary
#2E5EB0
secondary
#C5A775
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82