#2C45AE#2C45AE
#2C45AE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.170 H 268.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45AE |
|---|---|
| RGB | rgb(44, 69, 174) |
| HSL | hsl(228, 60%, 43%) |
| HSV | hsv(228, 75%, 68%) |
| CMYK | cmyk(74.7%, 60.3%, 0%, 31.8%) |
| CIE-LAB | lab(33.66, 28.15, -58.78) |
| CIE-LCH | lch(33.66, 65.17, 295.59°) |
| OKLab | oklab(43.89% -0.0053 -0.1697) |
| OKLCH | oklch(43.89% 0.17 268.2) |
| XYZ | xyz(10.8042, 7.8465, 40.9813) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 3.49
Sapphire (survey)
#2138AB
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 5.40
Ocean Blue
#4F42B5
ΔE00 5.51
Blueberry
#464196
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45AE #AE952C
analogous
#2C86AE #2C45AE #542CAE
triadic
#2C45AE #AE2C45 #45AE2C
tetradic
#2C45AE #AE2C86 #AE952C #2CAE54
square
#2C45AE #AE2C86 #AE952C #2CAE54
split-complementary
#2C45AE #AE542C #86AE2C
monochromatic
#131E4C #20327D #2C45AE #4761D0 #788BDD
Accessibility & contrast
On white
8.17
#2C45AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2C45AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45AE
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45AE | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c45ae; /* rgb */ color: rgb(44, 69, 174); /* oklch */ color: oklch(43.9% 0.170 268.2);
Tailwind
colors: {
custom: {
50: '#7878c7',
500: '#2c45ae',
950: '#000000',
},
}SCSS
$custom: #2c45ae; $custom-light: #7878c7; $custom-dark: #000000;
JSON
{
"hex": "#2c45ae",
"rgb": {
"r": 44,
"g": 69,
"b": 174
},
"hsl": {
"h": 228.462,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.4389,
"c": 0.16981,
"h": 268.2
},
"luminance": 0.07848
}Semantic roles & 50–950 ramp
primary
#2C45AE
secondary
#C5B571
accent
#C445E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82