#2C48AE#2C48AE
#2C48AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.166 H 267.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48AE |
|---|---|
| RGB | rgb(44, 72, 174) |
| HSL | hsl(227, 60%, 43%) |
| HSV | hsv(227, 75%, 68%) |
| CMYK | cmyk(74.7%, 58.6%, 0%, 31.8%) |
| CIE-LAB | lab(34.45, 26.17, -57.50) |
| CIE-LCH | lch(34.45, 63.17, 294.47°) |
| OKLab | oklab(44.48% -0.0075 -0.1659) |
| OKLCH | oklch(44.48% 0.166 267.4) |
| XYZ | xyz(10.9934, 8.2250, 41.0444) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.00
Blue Blue
#2242C7
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 4.50
Sapphire (survey)
#2138AB
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 5.32
Blueberry
#464196
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48AE #AE922C
analogous
#2C89AE #2C48AE #512CAE
triadic
#2C48AE #AE2C48 #48AE2C
tetradic
#2C48AE #AE2C89 #AE922C #2CAE51
square
#2C48AE #AE2C89 #AE922C #2CAE51
split-complementary
#2C48AE #AE512C #89AE2C
monochromatic
#13204C #20347D #2C48AE #4764D0 #788DDD
Accessibility & contrast
On white
7.94
#2C48AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2C48AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48AE
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48AE | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c48ae; /* rgb */ color: rgb(44, 72, 174); /* oklch */ color: oklch(44.5% 0.166 267.4);
Tailwind
colors: {
custom: {
50: '#787ac7',
500: '#2c48ae',
950: '#000000',
},
}SCSS
$custom: #2c48ae; $custom-light: #787ac7; $custom-dark: #000000;
JSON
{
"hex": "#2c48ae",
"rgb": {
"r": 44,
"g": 72,
"b": 174
},
"hsl": {
"h": 227.077,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.44476,
"c": 0.1661,
"h": 267.4
},
"luminance": 0.08226
}Semantic roles & 50–950 ramp
primary
#2C48AE
secondary
#C5B371
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82