#3142B3#3142B3
#3142B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.179 H 270.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3142B3 |
|---|---|
| RGB | rgb(49, 66, 179) |
| HSL | hsl(232, 57%, 45%) |
| HSV | hsv(232, 73%, 70%) |
| CMYK | cmyk(72.6%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(33.57, 32.55, -61.89) |
| CIE-LCH | lch(33.57, 69.93, 297.74°) |
| OKLab | oklab(44.02% 0.0015 -0.1788) |
| OKLCH | oklch(44.02% 0.179 270.5) |
| XYZ | xyz(11.3487, 7.8029, 43.5471) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.64
Sapphire (survey)
#2138AB
ΔE00 3.16
Ocean Blue
#4F42B5
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.89
Blueberry
#464196
ΔE00 5.37
Blue (survey)
#0343DF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142B3 #B3A231
analogous
#3183B3 #3142B3 #6131B3
triadic
#3142B3 #B33142 #42B331
tetradic
#3142B3 #B33183 #B3A231 #31B361
square
#3142B3 #B33183 #B3A231 #31B361
split-complementary
#3142B3 #B36131 #83B331
monochromatic
#171F53 #243083 #3142B3 #5262D0 #828EDD
Accessibility & contrast
On white
8.20
#3142B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3142B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142B3
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142B3 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3142b3; /* rgb */ color: rgb(49, 66, 179); /* oklch */ color: oklch(44.0% 0.179 270.5);
Tailwind
colors: {
custom: {
50: '#7c76cb',
500: '#3142b3',
950: '#000000',
},
}SCSS
$custom: #3142b3; $custom-light: #7c76cb; $custom-dark: #000000;
JSON
{
"hex": "#3142b3",
"rgb": {
"r": 49,
"g": 66,
"b": 179
},
"hsl": {
"h": 232.154,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.44019,
"c": 0.17879,
"h": 270.5
},
"luminance": 0.07804
}Semantic roles & 50–950 ramp
primary
#3142B3
secondary
#C6BC7A
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82