#2E4ABC#2E4ABC
#2E4ABC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.182 H 267.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4ABC |
|---|---|
| RGB | rgb(46, 74, 188) |
| HSL | hsl(228, 61%, 46%) |
| HSV | hsv(228, 76%, 74%) |
| CMYK | cmyk(75.5%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(36.19, 30.32, -62.92) |
| CIE-LCH | lch(36.19, 69.85, 295.72°) |
| OKLab | oklab(46.15% -0.0069 -0.1818) |
| OKLCH | oklch(46.15% 0.182 267.8) |
| XYZ | xyz(12.6494, 9.1079, 48.6585) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.80
Cobalt
#0047AB
ΔE00 4.27
Sapphire
#0F52BA
ΔE00 4.32
Blue (survey)
#0343DF
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 5.60
Sapphire (survey)
#2138AB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4ABC #BCA02E
analogous
#2E91BC #2E4ABC #592EBC
triadic
#2E4ABC #BC2E4A #4ABC2E
tetradic
#2E4ABC #BC2E91 #BCA02E #2EBC59
square
#2E4ABC #BC2E91 #BCA02E #2EBC59
split-complementary
#2E4ABC #BC592E #91BC2E
monochromatic
#16235A #22378B #2E4ABC #526CD5 #8496E1
Accessibility & contrast
On white
7.44
#2E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2E4ABC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4ABC
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4ABC | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4abc; /* rgb */ color: rgb(46, 74, 188); /* oklch */ color: oklch(46.2% 0.182 267.8);
Tailwind
colors: {
custom: {
50: '#7c7cd1',
500: '#2e4abc',
950: '#000000',
},
}SCSS
$custom: #2e4abc; $custom-light: #7c7cd1; $custom-dark: #000000;
JSON
{
"hex": "#2e4abc",
"rgb": {
"r": 46,
"g": 74,
"b": 188
},
"hsl": {
"h": 228.169,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.46154,
"c": 0.18192,
"h": 267.8
},
"luminance": 0.09109
}Semantic roles & 50–950 ramp
primary
#2E4ABC
secondary
#CABB7C
accent
#C444E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83