#3141B2#3141B2
#3141B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.179 H 270.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3141B2 |
|---|---|
| RGB | rgb(49, 65, 178) |
| HSL | hsl(233, 57%, 45%) |
| HSV | hsv(233, 72%, 70%) |
| CMYK | cmyk(72.5%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(33.24, 32.83, -61.84) |
| CIE-LCH | lch(33.24, 70.02, 297.96°) |
| OKLab | oklab(43.75% 0.0023 -0.1786) |
| OKLCH | oklch(43.75% 0.179 270.7) |
| XYZ | xyz(11.1901, 7.6468, 42.9971) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.79
Sapphire (survey)
#2138AB
ΔE00 2.88
Ocean Blue
#4F42B5
ΔE00 4.23
Cobalt
#0047AB
ΔE00 5.04
Blueberry
#464196
ΔE00 5.24
Blue (survey)
#0343DF
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3141B2 #B2A231
analogous
#3182B2 #3141B2 #6231B2
triadic
#3141B2 #B23141 #41B231
tetradic
#3141B2 #B23182 #B2A231 #31B262
square
#3141B2 #B23182 #B2A231 #31B262
split-complementary
#3141B2 #B26231 #82B231
monochromatic
#171E52 #242F82 #3141B2 #5161CF #818CDC
Accessibility & contrast
On white
8.30
#3141B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#3141B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3141B2
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3141B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3141B2 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 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: #3141b2; /* rgb */ color: rgb(49, 65, 178); /* oklch */ color: oklch(43.7% 0.179 270.7);
Tailwind
colors: {
custom: {
50: '#7b75ca',
500: '#3141b2',
950: '#000000',
},
}SCSS
$custom: #3141b2; $custom-light: #7b75ca; $custom-dark: #000000;
JSON
{
"hex": "#3141b2",
"rgb": {
"r": 49,
"g": 65,
"b": 178
},
"hsl": {
"h": 232.558,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.43748,
"c": 0.17866,
"h": 270.7
},
"luminance": 0.07648
}Semantic roles & 50–950 ramp
primary
#3141B2
secondary
#C5BC79
accent
#CD48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82