#3142B2#3142B2
#3142B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.177 H 270.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3142B2 |
|---|---|
| RGB | rgb(49, 66, 178) |
| HSL | hsl(232, 57%, 45%) |
| HSV | hsv(232, 72%, 70%) |
| CMYK | cmyk(72.5%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(33.48, 32.19, -61.44) |
| CIE-LCH | lch(33.48, 69.36, 297.65°) |
| OKLab | oklab(43.93% 0.0016 -0.1774) |
| OKLCH | oklch(43.93% 0.177 270.5) |
| XYZ | xyz(11.2480, 7.7626, 43.0164) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.77
Sapphire (survey)
#2138AB
ΔE00 3.11
Ocean Blue
#4F42B5
ΔE00 4.31
Cobalt
#0047AB
ΔE00 4.83
Blueberry
#464196
ΔE00 5.27
Blue (survey)
#0343DF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142B2 #B2A131
analogous
#3183B2 #3142B2 #6131B2
triadic
#3142B2 #B23142 #42B231
tetradic
#3142B2 #B23183 #B2A131 #31B261
square
#3142B2 #B23183 #B2A131 #31B261
split-complementary
#3142B2 #B26131 #83B231
monochromatic
#171E52 #243082 #3142B2 #5162CF #818DDC
Accessibility & contrast
On white
8.23
#3142B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3142B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142B2
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142B2 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3142b2; /* rgb */ color: rgb(49, 66, 178); /* oklch */ color: oklch(43.9% 0.177 270.5);
Tailwind
colors: {
custom: {
50: '#7b76ca',
500: '#3142b2',
950: '#000000',
},
}SCSS
$custom: #3142b2; $custom-light: #7b76ca; $custom-dark: #000000;
JSON
{
"hex": "#3142b2",
"rgb": {
"r": 49,
"g": 66,
"b": 178
},
"hsl": {
"h": 232.093,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.4393,
"c": 0.17746,
"h": 270.5
},
"luminance": 0.07764
}Semantic roles & 50–950 ramp
primary
#3142B2
secondary
#C5BB79
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82