#3142B5#3142B5
#3142B5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.181 H 270.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3142B5 |
|---|---|
| RGB | rgb(49, 66, 181) |
| HSL | hsl(232, 57%, 45%) |
| HSV | hsv(232, 73%, 71%) |
| CMYK | cmyk(72.9%, 63.5%, 0%, 29%) |
| CIE-LAB | lab(33.74, 33.27, -62.79) |
| CIE-LCH | lch(33.74, 71.07, 297.92°) |
| OKLab | oklab(44.2% 0.0015 -0.1814) |
| OKLCH | oklch(44.2% 0.181 270.5) |
| XYZ | xyz(11.5525, 7.8844, 44.6201) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.39
Sapphire (survey)
#2138AB
ΔE00 3.26
Ocean Blue
#4F42B5
ΔE00 4.18
Cobalt
#0047AB
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.19
Blueberry
#464196
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142B5 #B5A431
analogous
#3184B5 #3142B5 #6231B5
triadic
#3142B5 #B53142 #42B531
tetradic
#3142B5 #B53184 #B5A431 #31B562
square
#3142B5 #B53184 #B5A431 #31B562
split-complementary
#3142B5 #B56231 #84B531
monochromatic
#171F55 #243085 #3142B5 #5363D0 #838FDD
Accessibility & contrast
On white
8.15
#3142B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#3142B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142B5
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142B5 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3142b5; /* rgb */ color: rgb(49, 66, 181); /* oklch */ color: oklch(44.2% 0.181 270.5);
Tailwind
colors: {
custom: {
50: '#7c76cc',
500: '#3142b5',
950: '#000000',
},
}SCSS
$custom: #3142b5; $custom-light: #7c76cc; $custom-dark: #000000;
JSON
{
"hex": "#3142b5",
"rgb": {
"r": 49,
"g": 66,
"b": 181
},
"hsl": {
"h": 232.273,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.44199,
"c": 0.18144,
"h": 270.5
},
"luminance": 0.07886
}Semantic roles & 50–950 ramp
primary
#3142B5
secondary
#C7BD7B
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82