#2E45BF#2E45BF
#2E45BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.192 H 268.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45BF |
|---|---|
| RGB | rgb(46, 69, 191) |
| HSL | hsl(230, 61%, 46%) |
| HSV | hsv(230, 76%, 75%) |
| CMYK | cmyk(75.9%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(35.20, 34.64, -66.31) |
| CIE-LCH | lch(35.20, 74.81, 297.58°) |
| OKLab | oklab(45.5% -0.0038 -0.1918) |
| OKLCH | oklch(45.5% 0.192 268.9) |
| XYZ | xyz(12.6556, 8.5973, 50.2726) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.38
Blue (survey)
#0343DF
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.56
Ocean Blue
#4F42B5
ΔE00 4.64
Cobalt
#0047AB
ΔE00 5.08
Blue With A Hint Of Purple
#533CC6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45BF #BFA82E
analogous
#2E8EBF #2E45BF #602EBF
triadic
#2E45BF #BF2E45 #45BF2E
tetradic
#2E45BF #BF2E8E #BFA82E #2EBF60
square
#2E45BF #BF2E8E #BFA82E #2EBF60
split-complementary
#2E45BF #BF602E #8EBF2E
monochromatic
#16215C #22338E #2E45BF #5469D6 #8694E2
Accessibility & contrast
On white
7.72
#2E45BF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2E45BF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45BF
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45BF | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e45bf; /* rgb */ color: rgb(46, 69, 191); /* oklch */ color: oklch(45.5% 0.192 268.9);
Tailwind
colors: {
custom: {
50: '#7d78d3',
500: '#2e45bf',
950: '#000000',
},
}SCSS
$custom: #2e45bf; $custom-light: #7d78d3; $custom-dark: #000000;
JSON
{
"hex": "#2e45bf",
"rgb": {
"r": 46,
"g": 69,
"b": 191
},
"hsl": {
"h": 230.483,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.45497,
"c": 0.19181,
"h": 268.9
},
"luminance": 0.08599
}Semantic roles & 50–950 ramp
primary
#2E45BF
secondary
#CBBF7E
accent
#CB44E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83