#2C45A4#2C45A4
#2C45A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.156 H 268.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45A4 |
|---|---|
| RGB | rgb(44, 69, 164) |
| HSL | hsl(228, 58%, 41%) |
| HSV | hsv(228, 73%, 64%) |
| CMYK | cmyk(73.2%, 57.9%, 0%, 35.7%) |
| CIE-LAB | lab(32.86, 24.39, -54.11) |
| CIE-LCH | lch(32.86, 59.35, 294.27°) |
| OKLab | oklab(43.04% -0.0055 -0.156) |
| OKLCH | oklch(43.04% 0.156 268) |
| XYZ | xyz(9.8653, 7.4710, 36.0369) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Sapphire (survey)
#2138AB
ΔE00 4.23
Cobalt (survey)
#1E488F
ΔE00 4.56
Blue Blue
#2242C7
ΔE00 4.92
Blueberry
#464196
ΔE00 5.14
Sapphire
#0F52BA
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45A4 #A48B2C
analogous
#2C81A4 #2C45A4 #4F2CA4
triadic
#2C45A4 #A42C45 #45A42C
tetradic
#2C45A4 #A42C81 #A48B2C #2CA44F
square
#2C45A4 #A42C81 #A48B2C #2CA44F
split-complementary
#2C45A4 #A44F2C #81A42C
monochromatic
#121C43 #1F3174 #2C45A4 #415ECC #7187D9
Accessibility & contrast
On white
8.42
#2C45A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2C45A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45A4
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45A4 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c45a4; /* rgb */ color: rgb(44, 69, 164); /* oklch */ color: oklch(43.0% 0.156 268.0);
Tailwind
colors: {
custom: {
50: '#7678c0',
500: '#2c45a4',
950: '#000000',
},
}SCSS
$custom: #2c45a4; $custom-light: #7678c0; $custom-dark: #000000;
JSON
{
"hex": "#2c45a4",
"rgb": {
"r": 44,
"g": 69,
"b": 164
},
"hsl": {
"h": 227.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.43037,
"c": 0.15612,
"h": 268
},
"luminance": 0.07472
}Semantic roles & 50–950 ramp
primary
#2C45A4
secondary
#C0AF6B
accent
#C147E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81