#2E4EBC#2E4EBC
#2E4EBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.177 H 266.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EBC |
|---|---|
| RGB | rgb(46, 78, 188) |
| HSL | hsl(226, 61%, 46%) |
| HSV | hsv(226, 76%, 74%) |
| CMYK | cmyk(75.5%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(37.22, 27.71, -61.24) |
| CIE-LCH | lch(37.22, 67.22, 294.34°) |
| OKLab | oklab(46.92% -0.0096 -0.1768) |
| OKLCH | oklch(46.92% 0.177 266.9) |
| XYZ | xyz(12.9250, 9.6590, 48.7504) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.27
Blue Blue
#2242C7
ΔE00 3.98
Cobalt
#0047AB
ΔE00 4.28
Blue (survey)
#0343DF
ΔE00 5.31
Warm Blue
#4B57DB
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EBC #BC9C2E
analogous
#2E95BC #2E4EBC #552EBC
triadic
#2E4EBC #BC2E4E #4EBC2E
tetradic
#2E4EBC #BC2E95 #BC9C2E #2EBC55
square
#2E4EBC #BC2E95 #BC9C2E #2EBC55
split-complementary
#2E4EBC #BC552E #95BC2E
monochromatic
#16255A #223A8B #2E4EBC #5270D5 #8499E1
Accessibility & contrast
On white
7.16
#2E4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2E4EBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EBC
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EBC | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4ebc; /* rgb */ color: rgb(46, 78, 188); /* oklch */ color: oklch(46.9% 0.177 266.9);
Tailwind
colors: {
custom: {
50: '#7c7fd1',
500: '#2e4ebc',
950: '#000000',
},
}SCSS
$custom: #2e4ebc; $custom-light: #7c7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2e4ebc",
"rgb": {
"r": 46,
"g": 78,
"b": 188
},
"hsl": {
"h": 226.479,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.46923,
"c": 0.17706,
"h": 266.9
},
"luminance": 0.0966
}Semantic roles & 50–950 ramp
primary
#2E4EBC
secondary
#CAB87C
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82