#2E45BC#2E45BC
#2E45BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.188 H 268.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45BC |
|---|---|
| RGB | rgb(46, 69, 188) |
| HSL | hsl(230, 61%, 46%) |
| HSV | hsv(230, 76%, 74%) |
| CMYK | cmyk(75.5%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(34.94, 33.55, -64.97) |
| CIE-LCH | lch(34.94, 73.13, 297.31°) |
| OKLab | oklab(45.23% -0.0037 -0.1879) |
| OKLCH | oklch(45.23% 0.188 268.9) |
| XYZ | xyz(12.3288, 8.4666, 48.5517) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.67
Blue (survey)
#0343DF
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 4.67
Cobalt
#0047AB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45BC #BCA52E
analogous
#2E8CBC #2E45BC #5E2EBC
triadic
#2E45BC #BC2E45 #45BC2E
tetradic
#2E45BC #BC2E8C #BCA52E #2EBC5E
square
#2E45BC #BC2E8C #BCA52E #2EBC5E
split-complementary
#2E45BC #BC5E2E #8CBC2E
monochromatic
#16215A #22338B #2E45BC #5268D5 #8493E1
Accessibility & contrast
On white
7.80
#2E45BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2E45BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45BC
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45BC | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e45bc; /* rgb */ color: rgb(46, 69, 188); /* oklch */ color: oklch(45.2% 0.188 268.9);
Tailwind
colors: {
custom: {
50: '#7c78d1',
500: '#2e45bc',
950: '#000000',
},
}SCSS
$custom: #2e45bc; $custom-light: #7c78d1; $custom-dark: #000000;
JSON
{
"hex": "#2e45bc",
"rgb": {
"r": 46,
"g": 69,
"b": 188
},
"hsl": {
"h": 230.282,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.45225,
"c": 0.1879,
"h": 268.9
},
"luminance": 0.08468
}Semantic roles & 50–950 ramp
primary
#2E45BC
secondary
#CABD7C
accent
#CA44E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83