#2C48A6#2C48A6
#2C48A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.155 H 267.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48A6 |
|---|---|
| RGB | rgb(44, 72, 166) |
| HSL | hsl(226, 58%, 41%) |
| HSV | hsv(226, 73%, 65%) |
| CMYK | cmyk(73.5%, 56.6%, 0%, 34.9%) |
| CIE-LAB | lab(33.82, 23.15, -53.74) |
| CIE-LCH | lch(33.82, 58.51, 293.30°) |
| OKLab | oklab(43.81% -0.0078 -0.1549) |
| OKLCH | oklch(43.81% 0.155 267.1) |
| XYZ | xyz(10.2366, 7.9223, 37.0587) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.72
Cobalt (survey)
#1E488F
ΔE00 4.27
Sapphire
#0F52BA
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.02
Sapphire (survey)
#2138AB
ΔE00 5.11
Blueberry
#464196
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48A6 #A68A2C
analogous
#2C85A6 #2C48A6 #4D2CA6
triadic
#2C48A6 #A62C48 #48A62C
tetradic
#2C48A6 #A62C85 #A68A2C #2CA64D
square
#2C48A6 #A62C85 #A68A2C #2CA64D
split-complementary
#2C48A6 #A64D2C #85A62C
monochromatic
#121E45 #1F3376 #2C48A6 #4262CD #738ADA
Accessibility & contrast
On white
8.13
#2C48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2C48A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48A6
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48A6 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c48a6; /* rgb */ color: rgb(44, 72, 166); /* oklch */ color: oklch(43.8% 0.155 267.1);
Tailwind
colors: {
custom: {
50: '#767ac1',
500: '#2c48a6',
950: '#000000',
},
}SCSS
$custom: #2c48a6; $custom-light: #767ac1; $custom-dark: #000000;
JSON
{
"hex": "#2c48a6",
"rgb": {
"r": 44,
"g": 72,
"b": 166
},
"hsl": {
"h": 226.23,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.43809,
"c": 0.15509,
"h": 267.1
},
"luminance": 0.07923
}Semantic roles & 50–950 ramp
primary
#2C48A6
secondary
#C1AE6D
accent
#BE46E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81