#2C48AD#2C48AD
#2C48AD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.165 H 267.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48AD |
|---|---|
| RGB | rgb(44, 72, 173) |
| HSL | hsl(227, 59%, 43%) |
| HSV | hsv(227, 75%, 68%) |
| CMYK | cmyk(74.6%, 58.4%, 0%, 32.2%) |
| CIE-LAB | lab(34.37, 25.79, -57.03) |
| CIE-LCH | lch(34.37, 62.59, 294.33°) |
| OKLab | oklab(44.39% -0.0075 -0.1646) |
| OKLCH | oklch(44.39% 0.165 267.4) |
| XYZ | xyz(10.8963, 8.1862, 40.5329) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 4.06
Sapphire
#0F52BA
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 5.19
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48AD #AD912C
analogous
#2C88AD #2C48AD #512CAD
triadic
#2C48AD #AD2C48 #48AD2C
tetradic
#2C48AD #AD2C88 #AD912C #2CAD51
square
#2C48AD #AD2C88 #AD912C #2CAD51
split-complementary
#2C48AD #AD512C #88AD2C
monochromatic
#131F4B #20347C #2C48AD #4664D0 #778DDC
Accessibility & contrast
On white
7.96
#2C48AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2C48AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48AD
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48AD | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c48ad; /* rgb */ color: rgb(44, 72, 173); /* oklch */ color: oklch(44.4% 0.165 267.4);
Tailwind
colors: {
custom: {
50: '#787ac6',
500: '#2c48ad',
950: '#000000',
},
}SCSS
$custom: #2c48ad; $custom-light: #787ac6; $custom-dark: #000000;
JSON
{
"hex": "#2c48ad",
"rgb": {
"r": 44,
"g": 72,
"b": 173
},
"hsl": {
"h": 226.977,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.44391,
"c": 0.16473,
"h": 267.4
},
"luminance": 0.08187
}Semantic roles & 50–950 ramp
primary
#2C48AD
secondary
#C4B271
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82