#2C48C0#2C48C0
#2C48C0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.190 H 267.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48C0 |
|---|---|
| RGB | rgb(44, 72, 192) |
| HSL | hsl(229, 63%, 46%) |
| HSV | hsv(229, 77%, 75%) |
| CMYK | cmyk(77.1%, 62.5%, 0%, 24.7%) |
| CIE-LAB | lab(35.94, 32.88, -65.69) |
| CIE-LCH | lch(35.94, 73.46, 296.59°) |
| OKLab | oklab(46.04% -0.0074 -0.19) |
| OKLCH | oklch(46.04% 0.19 267.8) |
| XYZ | xyz(12.8672, 8.9745, 50.9131) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.98
Blue (survey)
#0343DF
ΔE00 3.93
Cobalt
#0047AB
ΔE00 4.68
Sapphire
#0F52BA
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48C0 #C0A42C
analogous
#2C92C0 #2C48C0 #5A2CC0
triadic
#2C48C0 #C02C48 #48C02C
tetradic
#2C48C0 #C02C92 #C0A42C #2CC05A
square
#2C48C0 #C02C92 #C0A42C #2CC05A
split-complementary
#2C48C0 #C05A2C #92C02C
monochromatic
#15235C #21358E #2C48C0 #526BD7 #8496E3
Accessibility & contrast
On white
7.51
#2C48C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2C48C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48C0
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48C0 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c48c0; /* rgb */ color: rgb(44, 72, 192); /* oklch */ color: oklch(46.0% 0.190 267.8);
Tailwind
colors: {
custom: {
50: '#7c7ad4',
500: '#2c48c0',
950: '#000000',
},
}SCSS
$custom: #2c48c0; $custom-light: #7c7ad4; $custom-dark: #000000;
JSON
{
"hex": "#2c48c0",
"rgb": {
"r": 44,
"g": 72,
"b": 192
},
"hsl": {
"h": 228.649,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.46044,
"c": 0.1901,
"h": 267.8
},
"luminance": 0.08976
}Semantic roles & 50–950 ramp
primary
#2C48C0
secondary
#CCBD7C
accent
#C742E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83