#3141B3#3141B3
#3141B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.180 H 270.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3141B3 |
|---|---|
| RGB | rgb(49, 65, 179) |
| HSL | hsl(233, 57%, 45%) |
| HSV | hsv(233, 73%, 70%) |
| CMYK | cmyk(72.6%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(33.32, 33.19, -62.29) |
| CIE-LCH | lch(33.32, 70.59, 298.05°) |
| OKLab | oklab(43.84% 0.0022 -0.18) |
| OKLCH | oklch(43.84% 0.18 270.7) |
| XYZ | xyz(11.2908, 7.6871, 43.5278) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.67
Sapphire (survey)
#2138AB
ΔE00 2.93
Ocean Blue
#4F42B5
ΔE00 4.18
Cobalt
#0047AB
ΔE00 5.10
Blueberry
#464196
ΔE00 5.34
Blue (survey)
#0343DF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3141B3 #B3A331
analogous
#3182B3 #3141B3 #6231B3
triadic
#3141B3 #B33141 #41B331
tetradic
#3141B3 #B33182 #B3A331 #31B362
square
#3141B3 #B33182 #B3A331 #31B362
split-complementary
#3141B3 #B36231 #82B331
monochromatic
#171E53 #243083 #3141B3 #5261D0 #828DDD
Accessibility & contrast
On white
8.28
#3141B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#3141B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3141B3
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3141B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3141B3 | 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)
#0055B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3141b3; /* rgb */ color: rgb(49, 65, 179); /* oklch */ color: oklch(43.8% 0.180 270.7);
Tailwind
colors: {
custom: {
50: '#7c75cb',
500: '#3141b3',
950: '#000000',
},
}SCSS
$custom: #3141b3; $custom-light: #7c75cb; $custom-dark: #000000;
JSON
{
"hex": "#3141b3",
"rgb": {
"r": 49,
"g": 65,
"b": 179
},
"hsl": {
"h": 232.615,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.43838,
"c": 0.17998,
"h": 270.7
},
"luminance": 0.07688
}Semantic roles & 50–950 ramp
primary
#3141B3
secondary
#C6BD7A
accent
#CD48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82