#3142AC#3142AC
#3142AC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.169 H 270.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3142AC |
|---|---|
| RGB | rgb(49, 66, 172) |
| HSL | hsl(232, 56%, 43%) |
| HSV | hsv(232, 72%, 67%) |
| CMYK | cmyk(71.5%, 61.6%, 0%, 32.5%) |
| CIE-LAB | lab(32.98, 30.01, -58.69) |
| CIE-LCH | lch(32.98, 65.92, 297.08°) |
| OKLab | oklab(43.4% 0.0017 -0.1694) |
| OKLCH | oklch(43.4% 0.169 270.6) |
| XYZ | xyz(10.6587, 7.5269, 39.9128) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Blue Blue
#2242C7
ΔE00 3.57
Cobalt
#0047AB
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 4.68
Blueberry
#464196
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142AC #AC9B31
analogous
#317FAC #3142AC #5D31AC
triadic
#3142AC #AC3142 #42AC31
tetradic
#3142AC #AC317F #AC9B31 #31AC5D
square
#3142AC #AC317F #AC9B31 #31AC5D
split-complementary
#3142AC #AC5D31 #7FAC31
monochromatic
#161D4D #23307C #3142AC #4E5FCC #7D8ADA
Accessibility & contrast
On white
8.38
#3142AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3142AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142AC
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142AC | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3142ac; /* rgb */ color: rgb(49, 66, 172); /* oklch */ color: oklch(43.4% 0.169 270.6);
Tailwind
colors: {
custom: {
50: '#7a76c6',
500: '#3142ac',
950: '#000000',
},
}SCSS
$custom: #3142ac; $custom-light: #7a76c6; $custom-dark: #000000;
JSON
{
"hex": "#3142ac",
"rgb": {
"r": 49,
"g": 66,
"b": 172
},
"hsl": {
"h": 231.707,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.43399,
"c": 0.16941,
"h": 270.6
},
"luminance": 0.07528
}Semantic roles & 50–950 ramp
primary
#3142AC
secondary
#C3B876
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82