#2C45C0#2C45C0
#2C45C0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.194 H 268.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45C0 |
|---|---|
| RGB | rgb(44, 69, 192) |
| HSL | hsl(230, 63%, 46%) |
| HSV | hsv(230, 77%, 75%) |
| CMYK | cmyk(77.1%, 64.1%, 0%, 24.7%) |
| CIE-LAB | lab(35.19, 34.80, -66.90) |
| CIE-LCH | lch(35.19, 75.41, 297.48°) |
| OKLab | oklab(45.5% -0.0056 -0.1935) |
| OKLCH | oklch(45.5% 0.194 268.3) |
| XYZ | xyz(12.6780, 8.5961, 50.8500) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.26
Blue (survey)
#0343DF
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 4.82
Cobalt
#0047AB
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45C0 #C0A72C
analogous
#2C8FC0 #2C45C0 #5D2CC0
triadic
#2C45C0 #C02C45 #45C02C
tetradic
#2C45C0 #C02C8F #C0A72C #2CC05D
square
#2C45C0 #C02C8F #C0A72C #2CC05D
split-complementary
#2C45C0 #C05D2C #8FC02C
monochromatic
#15215C #21338E #2C45C0 #5268D7 #8494E3
Accessibility & contrast
On white
7.72
#2C45C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2C45C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45C0
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45C0 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c45c0; /* rgb */ color: rgb(44, 69, 192); /* oklch */ color: oklch(45.5% 0.194 268.3);
Tailwind
colors: {
custom: {
50: '#7d78d4',
500: '#2c45c0',
950: '#000000',
},
}SCSS
$custom: #2c45c0; $custom-light: #7d78d4; $custom-dark: #000000;
JSON
{
"hex": "#2c45c0",
"rgb": {
"r": 44,
"g": 69,
"b": 192
},
"hsl": {
"h": 229.865,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.45498,
"c": 0.19362,
"h": 268.3
},
"luminance": 0.08597
}Semantic roles & 50–950 ramp
primary
#2C45C0
secondary
#CCBE7C
accent
#CA42E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83