#3141AB#3141AB
#3141AB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.169 H 270.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3141AB |
|---|---|
| RGB | rgb(49, 65, 171) |
| HSL | hsl(232, 55%, 43%) |
| HSV | hsv(232, 71%, 67%) |
| CMYK | cmyk(71.3%, 62%, 0%, 32.9%) |
| CIE-LAB | lab(32.64, 30.29, -58.64) |
| CIE-LCH | lch(32.64, 66.01, 297.32°) |
| OKLab | oklab(43.12% 0.0025 -0.1693) |
| OKLCH | oklch(43.12% 0.169 270.8) |
| XYZ | xyz(10.5051, 7.3728, 39.3896) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Blue Blue
#2242C7
ΔE00 3.72
Blueberry
#464196
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.72
Blue (survey)
#0343DF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3141AB #AB9B31
analogous
#317EAB #3141AB #5E31AB
triadic
#3141AB #AB3141 #41AB31
tetradic
#3141AB #AB317E #AB9B31 #31AB5E
square
#3141AB #AB317E #AB9B31 #31AB5E
split-complementary
#3141AB #AB5E31 #7EAB31
monochromatic
#161D4C #232F7B #3141AB #4D5ECC #7D89DA
Accessibility & contrast
On white
8.49
#3141AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#3141AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3141AB
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3141AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3141AB | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3141ab; /* rgb */ color: rgb(49, 65, 171); /* oklch */ color: oklch(43.1% 0.169 270.8);
Tailwind
colors: {
custom: {
50: '#7a75c5',
500: '#3141ab',
950: '#000000',
},
}SCSS
$custom: #3141ab; $custom-light: #7a75c5; $custom-dark: #000000;
JSON
{
"hex": "#3141ab",
"rgb": {
"r": 49,
"g": 65,
"b": 171
},
"hsl": {
"h": 232.131,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.43124,
"c": 0.16929,
"h": 270.8
},
"luminance": 0.07374
}Semantic roles & 50–950 ramp
primary
#3141AB
secondary
#C2B875
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82