#2C45A3#2C45A3
#2C45A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.155 H 267.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45A3 |
|---|---|
| RGB | rgb(44, 69, 163) |
| HSL | hsl(227, 57%, 41%) |
| HSV | hsv(227, 73%, 64%) |
| CMYK | cmyk(73%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.78, 24.01, -53.64) |
| CIE-LCH | lch(32.78, 58.77, 294.12°) |
| OKLab | oklab(42.95% -0.0056 -0.1546) |
| OKLCH | oklch(42.95% 0.155 267.9) |
| XYZ | xyz(9.7754, 7.4350, 35.5632) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.15
Sapphire (survey)
#2138AB
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 4.44
Blue Blue
#2242C7
ΔE00 5.07
Blueberry
#464196
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45A3 #A38A2C
analogous
#2C80A3 #2C45A3 #4E2CA3
triadic
#2C45A3 #A32C45 #45A32C
tetradic
#2C45A3 #A32C80 #A38A2C #2CA34E
square
#2C45A3 #A32C80 #A38A2C #2CA34E
split-complementary
#2C45A3 #A34E2C #80A32C
monochromatic
#121C43 #1F3173 #2C45A3 #415ECC #7187D9
Accessibility & contrast
On white
8.44
#2C45A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2C45A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45A3
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45A3 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c45a3; /* rgb */ color: rgb(44, 69, 163); /* oklch */ color: oklch(43.0% 0.155 267.9);
Tailwind
colors: {
custom: {
50: '#7678bf',
500: '#2c45a3',
950: '#000000',
},
}SCSS
$custom: #2c45a3; $custom-light: #7678bf; $custom-dark: #000000;
JSON
{
"hex": "#2c45a3",
"rgb": {
"r": 44,
"g": 69,
"b": 163
},
"hsl": {
"h": 227.395,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.42953,
"c": 0.15472,
"h": 267.9
},
"luminance": 0.07436
}Semantic roles & 50–950 ramp
primary
#2C45A3
secondary
#C0AE6B
accent
#C047E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81