#3142B0#3142B0
#3142B0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.175 H 270.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3142B0 |
|---|---|
| RGB | rgb(49, 66, 176) |
| HSL | hsl(232, 56%, 44%) |
| HSV | hsv(232, 72%, 69%) |
| CMYK | cmyk(72.2%, 62.5%, 0%, 31%) |
| CIE-LAB | lab(33.31, 31.46, -60.53) |
| CIE-LCH | lch(33.31, 68.21, 297.47°) |
| OKLab | oklab(43.75% 0.0016 -0.1748) |
| OKLCH | oklch(43.75% 0.175 270.5) |
| XYZ | xyz(11.0486, 7.6829, 41.9665) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 3.05
Ocean Blue
#4F42B5
ΔE00 4.42
Cobalt
#0047AB
ΔE00 4.72
Blueberry
#464196
ΔE00 5.09
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142B0 #B09F31
analogous
#3181B0 #3142B0 #6031B0
triadic
#3142B0 #B03142 #42B031
tetradic
#3142B0 #B03181 #B09F31 #31B060
square
#3142B0 #B03181 #B09F31 #31B060
split-complementary
#3142B0 #B06031 #81B031
monochromatic
#161E50 #243080 #3142B0 #5061CE #808CDC
Accessibility & contrast
On white
8.28
#3142B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#3142B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142B0
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142B0 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3142b0; /* rgb */ color: rgb(49, 66, 176); /* oklch */ color: oklch(43.8% 0.175 270.5);
Tailwind
colors: {
custom: {
50: '#7b76c9',
500: '#3142b0',
950: '#000000',
},
}SCSS
$custom: #3142b0; $custom-light: #7b76c9; $custom-dark: #000000;
JSON
{
"hex": "#3142b0",
"rgb": {
"r": 49,
"g": 66,
"b": 176
},
"hsl": {
"h": 231.969,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.43752,
"c": 0.17479,
"h": 270.5
},
"luminance": 0.07684
}Semantic roles & 50–950 ramp
primary
#3142B0
secondary
#C5BA78
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82