#2C45AD#2C45AD
#2C45AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.168 H 268.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45AD |
|---|---|
| RGB | rgb(44, 69, 173) |
| HSL | hsl(228, 59%, 43%) |
| HSV | hsv(228, 75%, 68%) |
| CMYK | cmyk(74.6%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.58, 27.78, -58.32) |
| CIE-LCH | lch(33.58, 64.59, 295.47°) |
| OKLab | oklab(43.8% -0.0053 -0.1684) |
| OKLCH | oklch(43.8% 0.168 268.2) |
| XYZ | xyz(10.7070, 7.8077, 40.4698) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.40
Blue Blue
#2242C7
ΔE00 3.63
Sapphire (survey)
#2138AB
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 5.41
Blueberry
#464196
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45AD #AD942C
analogous
#2C86AD #2C45AD #532CAD
triadic
#2C45AD #AD2C45 #45AD2C
tetradic
#2C45AD #AD2C86 #AD942C #2CAD53
square
#2C45AD #AD2C86 #AD942C #2CAD53
split-complementary
#2C45AD #AD532C #86AD2C
monochromatic
#131E4B #20327C #2C45AD #4661D0 #778BDC
Accessibility & contrast
On white
8.20
#2C45AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2C45AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45AD
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45AD | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c45ad; /* rgb */ color: rgb(44, 69, 173); /* oklch */ color: oklch(43.8% 0.168 268.2);
Tailwind
colors: {
custom: {
50: '#7878c6',
500: '#2c45ad',
950: '#000000',
},
}SCSS
$custom: #2c45ad; $custom-light: #7878c6; $custom-dark: #000000;
JSON
{
"hex": "#2c45ad",
"rgb": {
"r": 44,
"g": 69,
"b": 173
},
"hsl": {
"h": 228.372,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.43803,
"c": 0.16846,
"h": 268.2
},
"luminance": 0.07809
}Semantic roles & 50–950 ramp
primary
#2C45AD
secondary
#C4B471
accent
#C445E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82