#3141AE#3141AE
#3141AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.173 H 270.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3141AE |
|---|---|
| RGB | rgb(49, 65, 174) |
| HSL | hsl(232, 56%, 44%) |
| HSV | hsv(232, 72%, 68%) |
| CMYK | cmyk(71.8%, 62.6%, 0%, 31.8%) |
| CIE-LAB | lab(32.89, 31.38, -60.02) |
| CIE-LCH | lch(32.89, 67.73, 297.60°) |
| OKLab | oklab(43.39% 0.0024 -0.1733) |
| OKLCH | oklch(43.39% 0.173 270.8) |
| XYZ | xyz(10.7943, 7.4885, 40.9127) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Blue Blue
#2242C7
ΔE00 3.31
Ocean Blue
#4F42B5
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.84
Blueberry
#464196
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3141AE #AE9E31
analogous
#317FAE #3141AE #5F31AE
triadic
#3141AE #AE3141 #41AE31
tetradic
#3141AE #AE317F #AE9E31 #31AE5F
square
#3141AE #AE317F #AE9E31 #31AE5F
split-complementary
#3141AE #AE5F31 #7FAE31
monochromatic
#161D4E #242F7E #3141AE #4F5FCD #7F8ADB
Accessibility & contrast
On white
8.41
#3141AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#3141AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3141AE
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3141AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3141AE | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3141ae; /* rgb */ color: rgb(49, 65, 174); /* oklch */ color: oklch(43.4% 0.173 270.8);
Tailwind
colors: {
custom: {
50: '#7b75c7',
500: '#3141ae',
950: '#000000',
},
}SCSS
$custom: #3141ae; $custom-light: #7b75c7; $custom-dark: #000000;
JSON
{
"hex": "#3141ae",
"rgb": {
"r": 49,
"g": 65,
"b": 174
},
"hsl": {
"h": 232.32,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.4339,
"c": 0.17333,
"h": 270.8
},
"luminance": 0.0749
}Semantic roles & 50–950 ramp
primary
#3141AE
secondary
#C4BA77
accent
#CC48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82