#2C48BD#2C48BD
#2C48BD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.186 H 267.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48BD |
|---|---|
| RGB | rgb(44, 72, 189) |
| HSL | hsl(228, 62%, 46%) |
| HSV | hsv(228, 77%, 74%) |
| CMYK | cmyk(76.7%, 61.9%, 0%, 25.9%) |
| CIE-LAB | lab(35.68, 31.77, -64.35) |
| CIE-LCH | lch(35.68, 71.76, 296.28°) |
| OKLab | oklab(45.78% -0.0074 -0.186) |
| OKLCH | oklch(45.78% 0.186 267.7) |
| XYZ | xyz(12.5382, 8.8429, 49.1803) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.21
Blue (survey)
#0343DF
ΔE00 4.31
Cobalt
#0047AB
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48BD #BDA12C
analogous
#2C90BD #2C48BD #582CBD
triadic
#2C48BD #BD2C48 #48BD2C
tetradic
#2C48BD #BD2C90 #BDA12C #2CBD58
square
#2C48BD #BD2C90 #BDA12C #2CBD58
split-complementary
#2C48BD #BD582C #90BD2C
monochromatic
#15225A #20358B #2C48BD #506AD6 #8294E2
Accessibility & contrast
On white
7.58
#2C48BD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2C48BD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48BD
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48BD | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c48bd; /* rgb */ color: rgb(44, 72, 189); /* oklch */ color: oklch(45.8% 0.186 267.7);
Tailwind
colors: {
custom: {
50: '#7c7ad2',
500: '#2c48bd',
950: '#000000',
},
}SCSS
$custom: #2c48bd; $custom-light: #7c7ad2; $custom-dark: #000000;
JSON
{
"hex": "#2c48bd",
"rgb": {
"r": 44,
"g": 72,
"b": 189
},
"hsl": {
"h": 228.414,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.45776,
"c": 0.18618,
"h": 267.7
},
"luminance": 0.08844
}Semantic roles & 50–950 ramp
primary
#2C48BD
secondary
#CBBB7A
accent
#C642E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83