#3142AB#3142AB
#3142AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.168 H 270.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3142AB |
|---|---|
| RGB | rgb(49, 66, 171) |
| HSL | hsl(232, 55%, 43%) |
| HSV | hsv(232, 71%, 67%) |
| CMYK | cmyk(71.3%, 61.4%, 0%, 32.9%) |
| CIE-LAB | lab(32.89, 29.64, -58.23) |
| CIE-LCH | lch(32.89, 65.34, 296.98°) |
| OKLab | oklab(43.31% 0.0018 -0.168) |
| OKLCH | oklch(43.31% 0.168 270.6) |
| XYZ | xyz(10.5630, 7.4886, 39.4089) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 3.71
Cobalt
#0047AB
ΔE00 4.49
Blueberry
#464196
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142AB #AB9A31
analogous
#317FAB #3142AB #5D31AB
triadic
#3142AB #AB3142 #42AB31
tetradic
#3142AB #AB317F #AB9A31 #31AB5D
square
#3142AB #AB317F #AB9A31 #31AB5D
split-complementary
#3142AB #AB5D31 #7FAB31
monochromatic
#161D4C #23307B #3142AB #4D5FCC #7D8ADA
Accessibility & contrast
On white
8.41
#3142AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#3142AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142AB
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142AB | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3142ab; /* rgb */ color: rgb(49, 66, 171); /* oklch */ color: oklch(43.3% 0.168 270.6);
Tailwind
colors: {
custom: {
50: '#7a76c5',
500: '#3142ab',
950: '#000000',
},
}SCSS
$custom: #3142ab; $custom-light: #7a76c5; $custom-dark: #000000;
JSON
{
"hex": "#3142ab",
"rgb": {
"r": 49,
"g": 66,
"b": 171
},
"hsl": {
"h": 231.639,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.43312,
"c": 0.16806,
"h": 270.6
},
"luminance": 0.0749
}Semantic roles & 50–950 ramp
primary
#3142AB
secondary
#C2B875
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82