#2E4FC0#2E4FC0
#2E4FC0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.181 H 266.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4FC0 |
|---|---|
| RGB | rgb(46, 79, 192) |
| HSL | hsl(226, 61%, 47%) |
| HSV | hsv(226, 76%, 75%) |
| CMYK | cmyk(76%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(37.80, 28.55, -62.64) |
| CIE-LCH | lch(37.80, 68.84, 294.50°) |
| OKLab | oklab(47.45% -0.0102 -0.1809) |
| OKLCH | oklch(47.45% 0.181 266.8) |
| XYZ | xyz(13.4338, 9.9771, 51.0767) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.74
Blue (survey)
#0343DF
ΔE00 5.08
Warm Blue
#4B57DB
ΔE00 5.72
Ocean Blue
#4F42B5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4FC0 #C09F2E
analogous
#2E98C0 #2E4FC0 #562EC0
triadic
#2E4FC0 #C02E4F #4FC02E
tetradic
#2E4FC0 #C02E98 #C09F2E #2EC056
square
#2E4FC0 #C02E98 #C09F2E #2EC056
split-complementary
#2E4FC0 #C0562E #98C02E
monochromatic
#16265D #223B8F #2E4FC0 #5572D6 #869BE2
Accessibility & contrast
On white
7.01
#2E4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#2E4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E4FC0
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4FC0 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2e4fc0; /* rgb */ color: rgb(46, 79, 192); /* oklch */ color: oklch(47.5% 0.181 266.8);
Tailwind
colors: {
custom: {
50: '#7d7fd4',
500: '#2e4fc0',
950: '#000000',
},
}SCSS
$custom: #2e4fc0; $custom-light: #7d7fd4; $custom-dark: #000000;
JSON
{
"hex": "#2e4fc0",
"rgb": {
"r": 46,
"g": 79,
"b": 192
},
"hsl": {
"h": 226.438,
"s": 61.345,
"l": 46.667
},
"oklch": {
"l": 0.47454,
"c": 0.18118,
"h": 266.8
},
"luminance": 0.09979
}Semantic roles & 50–950 ramp
primary
#2E4FC0
secondary
#CCBA7E
accent
#C043E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83