#2E45B7#2E45B7
#2E45B7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.181 H 268.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45B7 |
|---|---|
| RGB | rgb(46, 69, 183) |
| HSL | hsl(230, 60%, 45%) |
| HSV | hsv(230, 75%, 72%) |
| CMYK | cmyk(74.9%, 62.3%, 0%, 28.2%) |
| CIE-LAB | lab(34.51, 31.72, -62.73) |
| CIE-LCH | lch(34.51, 70.29, 296.82°) |
| OKLab | oklab(44.78% -0.0035 -0.1813) |
| OKLCH | oklch(44.78% 0.181 268.9) |
| XYZ | xyz(11.7991, 8.2547, 45.7620) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.26
Sapphire (survey)
#2138AB
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.33
Ocean Blue
#4F42B5
ΔE00 4.80
Blue (survey)
#0343DF
ΔE00 4.90
Sapphire
#0F52BA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45B7 #B7A02E
analogous
#2E8AB7 #2E45B7 #5C2EB7
triadic
#2E45B7 #B72E45 #45B72E
tetradic
#2E45B7 #B72E8A #B7A02E #2EB75C
square
#2E45B7 #B72E8A #B7A02E #2EB75C
split-complementary
#2E45B7 #B75C2E #8AB72E
monochromatic
#152055 #223386 #2E45B7 #4F65D3 #8090DF
Accessibility & contrast
On white
7.92
#2E45B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2E45B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45B7
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45B7 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e45b7; /* rgb */ color: rgb(46, 69, 183); /* oklch */ color: oklch(44.8% 0.181 268.9);
Tailwind
colors: {
custom: {
50: '#7b78ce',
500: '#2e45b7',
950: '#000000',
},
}SCSS
$custom: #2e45b7; $custom-light: #7b78ce; $custom-dark: #000000;
JSON
{
"hex": "#2e45b7",
"rgb": {
"r": 46,
"g": 69,
"b": 183
},
"hsl": {
"h": 229.927,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.44777,
"c": 0.18131,
"h": 268.9
},
"luminance": 0.08256
}Semantic roles & 50–950 ramp
primary
#2E45B7
secondary
#C8BB79
accent
#C845E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82