#3142AD#3142AD
#3142AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.171 H 270.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3142AD |
|---|---|
| RGB | rgb(49, 66, 173) |
| HSL | hsl(232, 56%, 44%) |
| HSV | hsv(232, 72%, 68%) |
| CMYK | cmyk(71.7%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(33.06, 30.37, -59.15) |
| CIE-LCH | lch(33.06, 66.49, 297.18°) |
| OKLab | oklab(43.49% 0.0017 -0.1708) |
| OKLCH | oklch(43.49% 0.171 270.6) |
| XYZ | xyz(10.7551, 7.5654, 40.4205) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Blue Blue
#2242C7
ΔE00 3.44
Cobalt
#0047AB
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 4.61
Blueberry
#464196
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142AD #AD9C31
analogous
#3180AD #3142AD #5E31AD
triadic
#3142AD #AD3142 #42AD31
tetradic
#3142AD #AD3180 #AD9C31 #31AD5E
square
#3142AD #AD3180 #AD9C31 #31AD5E
split-complementary
#3142AD #AD5E31 #80AD31
monochromatic
#161E4E #23307D #3142AD #4E60CD #7E8BDA
Accessibility & contrast
On white
8.36
#3142AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3142AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142AD
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142AD | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3142ad; /* rgb */ color: rgb(49, 66, 173); /* oklch */ color: oklch(43.5% 0.171 270.6);
Tailwind
colors: {
custom: {
50: '#7a76c6',
500: '#3142ad',
950: '#000000',
},
}SCSS
$custom: #3142ad; $custom-light: #7a76c6; $custom-dark: #000000;
JSON
{
"hex": "#3142ad",
"rgb": {
"r": 49,
"g": 66,
"b": 173
},
"hsl": {
"h": 231.774,
"s": 55.856,
"l": 43.529
},
"oklch": {
"l": 0.43487,
"c": 0.17076,
"h": 270.6
},
"luminance": 0.07567
}Semantic roles & 50–950 ramp
primary
#3142AD
secondary
#C3B977
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82