#3140B2#3140B2
#3140B2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.180 H 270.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3140B2 |
|---|---|
| RGB | rgb(49, 64, 178) |
| HSL | hsl(233, 57%, 45%) |
| HSV | hsv(233, 72%, 70%) |
| CMYK | cmyk(72.5%, 64%, 0%, 30.2%) |
| CIE-LAB | lab(32.99, 33.47, -62.24) |
| CIE-LCH | lch(32.99, 70.67, 298.27°) |
| OKLab | oklab(43.57% 0.003 -0.1798) |
| OKLCH | oklch(43.57% 0.18 270.9) |
| XYZ | xyz(11.1332, 7.5330, 42.9781) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blue Blue
#2242C7
ΔE00 2.85
Ocean Blue
#4F42B5
ΔE00 4.16
Blueberry
#464196
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3140B2 #B2A331
analogous
#3181B2 #3140B2 #6231B2
triadic
#3140B2 #B23140 #40B231
tetradic
#3140B2 #B23181 #B2A331 #31B262
square
#3140B2 #B23181 #B2A331 #31B262
split-complementary
#3140B2 #B26231 #81B231
monochromatic
#171D52 #242F82 #3140B2 #5160CF #818CDC
Accessibility & contrast
On white
8.38
#3140B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3140B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3140B2
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3140B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3140B2 | 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)
#0054B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3140b2; /* rgb */ color: rgb(49, 64, 178); /* oklch */ color: oklch(43.6% 0.180 270.9);
Tailwind
colors: {
custom: {
50: '#7c75ca',
500: '#3140b2',
950: '#000000',
},
}SCSS
$custom: #3140b2; $custom-light: #7c75ca; $custom-dark: #000000;
JSON
{
"hex": "#3140b2",
"rgb": {
"r": 49,
"g": 64,
"b": 178
},
"hsl": {
"h": 233.023,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.43567,
"c": 0.17985,
"h": 270.9
},
"luminance": 0.07534
}Semantic roles & 50–950 ramp
primary
#3140B2
secondary
#C5BD79
accent
#CE48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82