#3141AC#3141AC
#3141AC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.171 H 270.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #3141AC |
|---|---|
| RGB | rgb(49, 65, 172) |
| HSL | hsl(232, 56%, 43%) |
| HSV | hsv(232, 72%, 67%) |
| CMYK | cmyk(71.5%, 62.2%, 0%, 32.5%) |
| CIE-LAB | lab(32.73, 30.66, -59.10) |
| CIE-LCH | lch(32.73, 66.58, 297.42°) |
| OKLab | oklab(43.21% 0.0025 -0.1706) |
| OKLCH | oklch(43.21% 0.171 270.8) |
| XYZ | xyz(10.6008, 7.4111, 39.8935) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Blue Blue
#2242C7
ΔE00 3.58
Ocean Blue
#4F42B5
ΔE00 4.59
Blueberry
#464196
ΔE00 4.68
Cobalt
#0047AB
ΔE00 4.75
Blue (survey)
#0343DF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3141AC #AC9C31
analogous
#317EAC #3141AC #5E31AC
triadic
#3141AC #AC3141 #41AC31
tetradic
#3141AC #AC317E #AC9C31 #31AC5E
square
#3141AC #AC317E #AC9C31 #31AC5E
split-complementary
#3141AC #AC5E31 #7EAC31
monochromatic
#161D4D #232F7C #3141AC #4E5ECC #7D89DA
Accessibility & contrast
On white
8.46
#3141AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#3141AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3141AC
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3141AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3141AC | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3141ac; /* rgb */ color: rgb(49, 65, 172); /* oklch */ color: oklch(43.2% 0.171 270.8);
Tailwind
colors: {
custom: {
50: '#7a75c6',
500: '#3141ac',
950: '#000000',
},
}SCSS
$custom: #3141ac; $custom-light: #7a75c6; $custom-dark: #000000;
JSON
{
"hex": "#3141ac",
"rgb": {
"r": 49,
"g": 65,
"b": 172
},
"hsl": {
"h": 232.195,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.43213,
"c": 0.17064,
"h": 270.8
},
"luminance": 0.07412
}Semantic roles & 50–950 ramp
primary
#3141AC
secondary
#C3B976
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82