#2E5EA6#2E5EA6
#2E5EA6 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.127 H 258.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EA6 |
|---|---|
| RGB | rgb(46, 94, 166) |
| HSL | hsl(216, 57%, 42%) |
| HSV | hsv(216, 72%, 65%) |
| CMYK | cmyk(72.3%, 43.4%, 0%, 34.9%) |
| CIE-LAB | lab(40.14, 8.90, -43.55) |
| CIE-LCH | lch(40.14, 44.45, 281.55°) |
| OKLab | oklab(48.66% -0.0254 -0.1245) |
| OKLCH | oklch(48.66% 0.127 258.4) |
| XYZ | xyz(12.0099, 11.3381, 37.6245) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.77
Denim Blue
#3B5B92
ΔE00 3.19
Denim (survey)
#3B638C
ΔE00 3.91
Light Navy Blue
#2E5A88
ΔE00 3.96
Dusky Blue
#475F94
ΔE00 4.56
Dusk Blue
#26538D
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EA6 #A6762E
analogous
#2E9AA6 #2E5EA6 #3A2EA6
triadic
#2E5EA6 #A62E5E #5EA62E
tetradic
#2E5EA6 #A62E9A #A6762E #2EA63A
square
#2E5EA6 #A62E9A #A6762E #2EA63A
split-complementary
#2E5EA6 #A63A2E #9AA62E
monochromatic
#132846 #214376 #2E5EA6 #467BCC #769DD9
Accessibility & contrast
On white
6.43
#2E5EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2E5EA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EA6
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EA6 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#2659A5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e5ea6; /* rgb */ color: rgb(46, 94, 166); /* oklch */ color: oklch(48.7% 0.127 258.4);
Tailwind
colors: {
custom: {
50: '#768bc1',
500: '#2e5ea6',
950: '#000000',
},
}SCSS
$custom: #2e5ea6; $custom-light: #768bc1; $custom-dark: #000000;
JSON
{
"hex": "#2e5ea6",
"rgb": {
"r": 46,
"g": 94,
"b": 166
},
"hsl": {
"h": 216,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.4866,
"c": 0.12705,
"h": 258.4
},
"luminance": 0.11339
}Semantic roles & 50–950 ramp
primary
#2E5EA6
secondary
#C1A06F
accent
#A348E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81