#2C45B1#2C45B1
#2C45B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.174 H 268.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45B1 |
|---|---|
| RGB | rgb(44, 69, 177) |
| HSL | hsl(229, 60%, 43%) |
| HSV | hsv(229, 75%, 69%) |
| CMYK | cmyk(75.1%, 61%, 0%, 30.6%) |
| CIE-LAB | lab(33.91, 29.27, -60.16) |
| CIE-LCH | lch(33.91, 66.90, 295.95°) |
| OKLab | oklab(44.15% -0.0053 -0.1738) |
| OKLCH | oklch(44.15% 0.174 268.2) |
| XYZ | xyz(11.0999, 7.9648, 42.5388) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.65
Sapphire (survey)
#2138AB
ΔE00 3.87
Ocean Blue
#4F42B5
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.40
Blue (survey)
#0343DF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45B1 #B1982C
analogous
#2C87B1 #2C45B1 #552CB1
triadic
#2C45B1 #B12C45 #45B12C
tetradic
#2C45B1 #B12C87 #B1982C #2CB155
square
#2C45B1 #B12C87 #B1982C #2CB155
split-complementary
#2C45B1 #B1552C #87B12C
monochromatic
#141F4F #203280 #2C45B1 #4962D2 #7A8CDE
Accessibility & contrast
On white
8.10
#2C45B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2C45B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45B1
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45B1 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c45b1; /* rgb */ color: rgb(44, 69, 177); /* oklch */ color: oklch(44.2% 0.174 268.2);
Tailwind
colors: {
custom: {
50: '#7978c9',
500: '#2c45b1',
950: '#000000',
},
}SCSS
$custom: #2c45b1; $custom-light: #7978c9; $custom-dark: #000000;
JSON
{
"hex": "#2c45b1",
"rgb": {
"r": 44,
"g": 69,
"b": 177
},
"hsl": {
"h": 228.722,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.44151,
"c": 0.17386,
"h": 268.2
},
"luminance": 0.07966
}Semantic roles & 50–950 ramp
primary
#2C45B1
secondary
#C6B673
accent
#C544E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82