#2C48A8#2C48A8
#2C48A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.158 H 267.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48A8 |
|---|---|
| RGB | rgb(44, 72, 168) |
| HSL | hsl(226, 58%, 42%) |
| HSV | hsv(226, 74%, 66%) |
| CMYK | cmyk(73.8%, 57.1%, 0%, 34.1%) |
| CIE-LAB | lab(33.98, 23.90, -54.69) |
| CIE-LCH | lch(33.98, 59.68, 293.61°) |
| OKLab | oklab(43.97% -0.0077 -0.1577) |
| OKLCH | oklch(43.97% 0.158 267.2) |
| XYZ | xyz(10.4215, 7.9963, 38.0324) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.75
Cobalt (survey)
#1E488F
ΔE00 4.53
Sapphire
#0F52BA
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 5.01
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48A8 #A88C2C
analogous
#2C86A8 #2C48A8 #4E2CA8
triadic
#2C48A8 #A82C48 #48A82C
tetradic
#2C48A8 #A82C86 #A88C2C #2CA84E
square
#2C48A8 #A82C86 #A88C2C #2CA84E
split-complementary
#2C48A8 #A84E2C #86A82C
monochromatic
#131E47 #1F3378 #2C48A8 #4363CE #748BDB
Accessibility & contrast
On white
8.08
#2C48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2C48A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48A8
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48A8 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c48a8; /* rgb */ color: rgb(44, 72, 168); /* oklch */ color: oklch(44.0% 0.158 267.2);
Tailwind
colors: {
custom: {
50: '#777ac3',
500: '#2c48a8',
950: '#000000',
},
}SCSS
$custom: #2c48a8; $custom-light: #777ac3; $custom-dark: #000000;
JSON
{
"hex": "#2c48a8",
"rgb": {
"r": 44,
"g": 72,
"b": 168
},
"hsl": {
"h": 226.452,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.43974,
"c": 0.15786,
"h": 267.2
},
"luminance": 0.07997
}Semantic roles & 50–950 ramp
primary
#2C48A8
secondary
#C2AF6E
accent
#BF46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81