#2C54C0#2C54C0
#2C54C0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.176 H 265.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C54C0 |
|---|---|
| RGB | rgb(44, 84, 192) |
| HSL | hsl(224, 63%, 46%) |
| HSV | hsv(224, 77%, 75%) |
| CMYK | cmyk(77.1%, 56.3%, 0%, 24.7%) |
| CIE-LAB | lab(39.04, 25.06, -60.63) |
| CIE-LCH | lch(39.04, 65.61, 292.46°) |
| OKLab | oklab(48.36% -0.0153 -0.1749) |
| OKLCH | oklch(48.36% 0.176 265) |
| XYZ | xyz(13.7201, 10.6803, 51.1974) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Cobalt
#0047AB
ΔE00 5.27
Denim
#1560BD
ΔE00 5.53
Warm Blue
#4B57DB
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.78
Azul
#1D5DEC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C54C0 #C0982C
analogous
#2C9EC0 #2C54C0 #4E2CC0
triadic
#2C54C0 #C02C54 #54C02C
tetradic
#2C54C0 #C02C9E #C0982C #2CC04E
square
#2C54C0 #C02C9E #C0982C #2CC04E
split-complementary
#2C54C0 #C04E2C #9EC02C
monochromatic
#15285C #213E8E #2C54C0 #5276D7 #849DE3
Accessibility & contrast
On white
6.70
#2C54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2C54C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C54C0
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C54C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C54C0 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c54c0; /* rgb */ color: rgb(44, 84, 192); /* oklch */ color: oklch(48.4% 0.176 265.0);
Tailwind
colors: {
custom: {
50: '#7b83d4',
500: '#2c54c0',
950: '#000000',
},
}SCSS
$custom: #2c54c0; $custom-light: #7b83d4; $custom-dark: #000000;
JSON
{
"hex": "#2c54c0",
"rgb": {
"r": 44,
"g": 84,
"b": 192
},
"hsl": {
"h": 223.784,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.48358,
"c": 0.17562,
"h": 265
},
"luminance": 0.10682
}Semantic roles & 50–950 ramp
primary
#2C54C0
secondary
#CCB67C
accent
#BA42E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83