#2C48BE#2C48BE
#2C48BE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.187 H 267.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48BE |
|---|---|
| RGB | rgb(44, 72, 190) |
| HSL | hsl(228, 62%, 46%) |
| HSV | hsv(228, 77%, 75%) |
| CMYK | cmyk(76.8%, 62.1%, 0%, 25.5%) |
| CIE-LAB | lab(35.76, 32.14, -64.80) |
| CIE-LCH | lch(35.76, 72.33, 296.38°) |
| OKLab | oklab(45.87% -0.0074 -0.1873) |
| OKLCH | oklch(45.87% 0.187 267.7) |
| XYZ | xyz(12.6471, 8.8865, 49.7539) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.12
Blue (survey)
#0343DF
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48BE #BEA22C
analogous
#2C91BE #2C48BE #592CBE
triadic
#2C48BE #BE2C48 #48BE2C
tetradic
#2C48BE #BE2C91 #BEA22C #2CBE59
square
#2C48BE #BE2C91 #BEA22C #2CBE59
split-complementary
#2C48BE #BE592C #91BE2C
monochromatic
#15225B #20358C #2C48BE #516AD7 #8295E2
Accessibility & contrast
On white
7.56
#2C48BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C48BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48BE
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48BE | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c48be; /* rgb */ color: rgb(44, 72, 190); /* oklch */ color: oklch(45.9% 0.187 267.7);
Tailwind
colors: {
custom: {
50: '#7c7ad3',
500: '#2c48be',
950: '#000000',
},
}SCSS
$custom: #2c48be; $custom-light: #7c7ad3; $custom-dark: #000000;
JSON
{
"hex": "#2c48be",
"rgb": {
"r": 44,
"g": 72,
"b": 190
},
"hsl": {
"h": 228.493,
"s": 62.393,
"l": 45.882
},
"oklch": {
"l": 0.45865,
"c": 0.18749,
"h": 267.7
},
"luminance": 0.08888
}Semantic roles & 50–950 ramp
primary
#2C48BE
secondary
#CBBC7B
accent
#C642E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83