#2E45B3#2E45B3
#2E45B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.176 H 268.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45B3 |
|---|---|
| RGB | rgb(46, 69, 179) |
| HSL | hsl(230, 59%, 44%) |
| HSV | hsv(230, 74%, 70%) |
| CMYK | cmyk(74.3%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(34.17, 30.25, -60.91) |
| CIE-LCH | lch(34.17, 68.01, 296.41°) |
| OKLab | oklab(44.42% -0.0035 -0.1759) |
| OKLCH | oklch(44.42% 0.176 268.9) |
| XYZ | xyz(11.3887, 8.0905, 43.6005) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.78
Sapphire (survey)
#2138AB
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 4.98
Blue (survey)
#0343DF
ΔE00 5.44
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45B3 #B39C2E
analogous
#2E88B3 #2E45B3 #5A2EB3
triadic
#2E45B3 #B32E45 #45B32E
tetradic
#2E45B3 #B32E88 #B39C2E #2EB35A
square
#2E45B3 #B32E88 #B39C2E #2EB35A
split-complementary
#2E45B3 #B35A2E #88B32E
monochromatic
#151F52 #213282 #2E45B3 #4D64D1 #7E8EDE
Accessibility & contrast
On white
8.02
#2E45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2E45B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45B3
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45B3 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e45b3; /* rgb */ color: rgb(46, 69, 179); /* oklch */ color: oklch(44.4% 0.176 268.9);
Tailwind
colors: {
custom: {
50: '#7a78cb',
500: '#2e45b3',
950: '#000000',
},
}SCSS
$custom: #2e45b3; $custom-light: #7a78cb; $custom-dark: #000000;
JSON
{
"hex": "#2e45b3",
"rgb": {
"r": 46,
"g": 69,
"b": 179
},
"hsl": {
"h": 229.624,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.44423,
"c": 0.17598,
"h": 268.9
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#2E45B3
secondary
#C6B976
accent
#C746E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82