#2C48BA#2C48BA
#2C48BA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.182 H 267.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48BA |
|---|---|
| RGB | rgb(44, 72, 186) |
| HSL | hsl(228, 62%, 45%) |
| HSV | hsv(228, 76%, 73%) |
| CMYK | cmyk(76.3%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(35.43, 30.66, -63.00) |
| CIE-LCH | lch(35.43, 70.06, 295.95°) |
| OKLab | oklab(45.51% -0.0073 -0.1821) |
| OKLCH | oklch(45.51% 0.182 267.7) |
| XYZ | xyz(12.2159, 8.7140, 47.4830) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.49
Cobalt
#0047AB
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.66
Blue (survey)
#0343DF
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48BA #BA9E2C
analogous
#2C8FBA #2C48BA #572CBA
triadic
#2C48BA #BA2C48 #48BA2C
tetradic
#2C48BA #BA2C8F #BA9E2C #2CBA57
square
#2C48BA #BA2C8F #BA9E2C #2CBA57
split-complementary
#2C48BA #BA572C #8FBA2C
monochromatic
#152257 #203589 #2C48BA #4E69D5 #8093E1
Accessibility & contrast
On white
7.66
#2C48BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2C48BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48BA
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48BA | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c48ba; /* rgb */ color: rgb(44, 72, 186); /* oklch */ color: oklch(45.5% 0.182 267.7);
Tailwind
colors: {
custom: {
50: '#7b7ad0',
500: '#2c48ba',
950: '#000000',
},
}SCSS
$custom: #2c48ba; $custom-light: #7b7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2c48ba",
"rgb": {
"r": 44,
"g": 72,
"b": 186
},
"hsl": {
"h": 228.169,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.45511,
"c": 0.18222,
"h": 267.7
},
"luminance": 0.08715
}Semantic roles & 50–950 ramp
primary
#2C48BA
secondary
#CABA78
accent
#C543E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82