#2C48AB#2C48AB
#2C48AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.162 H 267.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48AB |
|---|---|
| RGB | rgb(44, 72, 171) |
| HSL | hsl(227, 59%, 42%) |
| HSV | hsv(227, 74%, 67%) |
| CMYK | cmyk(74.3%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.21, 25.04, -56.10) |
| CIE-LCH | lch(34.21, 61.43, 294.05°) |
| OKLab | oklab(44.22% -0.0076 -0.1618) |
| OKLCH | oklch(44.22% 0.162 267.3) |
| XYZ | xyz(10.7042, 8.1093, 39.5213) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.84
Blue Blue
#2242C7
ΔE00 4.33
Sapphire
#0F52BA
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 4.90
Cobalt (survey)
#1E488F
ΔE00 4.93
Blueberry
#464196
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48AB #AB8F2C
analogous
#2C87AB #2C48AB #502CAB
triadic
#2C48AB #AB2C48 #48AB2C
tetradic
#2C48AB #AB2C87 #AB8F2C #2CAB50
square
#2C48AB #AB2C87 #AB8F2C #2CAB50
split-complementary
#2C48AB #AB502C #87AB2C
monochromatic
#131F4A #1F347A #2C48AB #4563CF #768CDC
Accessibility & contrast
On white
8.01
#2C48AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2C48AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48AB
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48AB | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c48ab; /* rgb */ color: rgb(44, 72, 171); /* oklch */ color: oklch(44.2% 0.162 267.3);
Tailwind
colors: {
custom: {
50: '#777ac5',
500: '#2c48ab',
950: '#000000',
},
}SCSS
$custom: #2c48ab; $custom-light: #777ac5; $custom-dark: #000000;
JSON
{
"hex": "#2c48ab",
"rgb": {
"r": 44,
"g": 72,
"b": 171
},
"hsl": {
"h": 226.772,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.44223,
"c": 0.162,
"h": 267.3
},
"luminance": 0.0811
}Semantic roles & 50–950 ramp
primary
#2C48AB
secondary
#C3B16F
accent
#C046E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82