#3C48AB#3C48AB
#3C48AB is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.157 H 273.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3C48AB |
|---|---|
| RGB | rgb(60, 72, 171) |
| HSL | hsl(234, 48%, 45%) |
| HSV | hsv(234, 65%, 67%) |
| CMYK | cmyk(64.9%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(35.07, 27.37, -54.66) |
| CIE-LCH | lch(35.07, 61.13, 296.60°) |
| OKLab | oklab(45.1% 0.0086 -0.1572) |
| OKLCH | oklch(45.1% 0.157 273.1) |
| XYZ | xyz(11.5291, 8.5347, 39.5600) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.36
Blue Blue
#2242C7
ΔE00 4.40
Blueberry
#464196
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.01
Sapphire
#0F52BA
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C48AB #AB9F3C
analogous
#3C7FAB #3C48AB #683CAB
triadic
#3C48AB #AB3C48 #48AB3C
tetradic
#3C48AB #AB3C7F #AB9F3C #3CAB68
square
#3C48AB #AB3C7F #AB9F3C #3CAB68
split-complementary
#3C48AB #AB683C #7FAB3C
monochromatic
#1C2250 #2C357E #3C48AB #5E69C6 #8B93D6
Accessibility & contrast
On white
7.76
#3C48AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3C48AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C48AB
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C48AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C48AB | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3c48ab; /* rgb */ color: rgb(60, 72, 171); /* oklch */ color: oklch(45.1% 0.157 273.1);
Tailwind
colors: {
custom: {
50: '#7e7ac5',
500: '#3c48ab',
950: '#000000',
},
}SCSS
$custom: #3c48ab; $custom-light: #7e7ac5; $custom-dark: #000000;
JSON
{
"hex": "#3c48ab",
"rgb": {
"r": 60,
"g": 72,
"b": 171
},
"hsl": {
"h": 233.514,
"s": 48.052,
"l": 45.294
},
"oklch": {
"l": 0.451,
"c": 0.15744,
"h": 273.1
},
"luminance": 0.08536
}Semantic roles & 50–950 ramp
primary
#3C48AB
secondary
#C1BA82
accent
#C950D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82