#3148AB#3148AB
#3148AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.161 H 269.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3148AB |
|---|---|
| RGB | rgb(49, 72, 171) |
| HSL | hsl(229, 55%, 43%) |
| HSV | hsv(229, 71%, 67%) |
| CMYK | cmyk(71.3%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.45, 25.70, -55.69) |
| CIE-LCH | lch(34.45, 61.34, 294.77°) |
| OKLab | oklab(44.47% -0.0029 -0.1605) |
| OKLCH | oklch(44.47% 0.161 269) |
| XYZ | xyz(10.9321, 8.2269, 39.5320) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 4.83
Sapphire
#0F52BA
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.35
Blueberry
#464196
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148AB #AB9431
analogous
#3185AB #3148AB #5731AB
triadic
#3148AB #AB3148 #48AB31
tetradic
#3148AB #AB3185 #AB9431 #31AB57
square
#3148AB #AB3185 #AB9431 #31AB57
split-complementary
#3148AB #AB5731 #85AB31
monochromatic
#16204C #23347B #3148AB #4D65CC #7D8EDA
Accessibility & contrast
On white
7.94
#3148AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3148AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148AB
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148AB | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3148ab; /* rgb */ color: rgb(49, 72, 171); /* oklch */ color: oklch(44.5% 0.161 269.0);
Tailwind
colors: {
custom: {
50: '#797ac5',
500: '#3148ab',
950: '#000000',
},
}SCSS
$custom: #3148ab; $custom-light: #797ac5; $custom-dark: #000000;
JSON
{
"hex": "#3148ab",
"rgb": {
"r": 49,
"g": 72,
"b": 171
},
"hsl": {
"h": 228.689,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.4447,
"c": 0.16056,
"h": 269
},
"luminance": 0.08228
}Semantic roles & 50–950 ramp
primary
#3148AB
secondary
#C2B475
accent
#C349DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82