#3141AF#3141AF
#3141AF is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.175 H 270.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3141AF |
|---|---|
| RGB | rgb(49, 65, 175) |
| HSL | hsl(232, 56%, 44%) |
| HSV | hsv(232, 72%, 69%) |
| CMYK | cmyk(72%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(32.98, 31.75, -60.48) |
| CIE-LCH | lch(32.98, 68.30, 297.70°) |
| OKLab | oklab(43.48% 0.0024 -0.1746) |
| OKLCH | oklch(43.48% 0.175 270.8) |
| XYZ | xyz(10.8922, 7.5276, 41.4281) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Blue Blue
#2242C7
ΔE00 3.18
Ocean Blue
#4F42B5
ΔE00 4.39
Cobalt
#0047AB
ΔE00 4.88
Blueberry
#464196
ΔE00 4.95
Blue (survey)
#0343DF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3141AF #AF9F31
analogous
#3180AF #3141AF #6031AF
triadic
#3141AF #AF3141 #41AF31
tetradic
#3141AF #AF3180 #AF9F31 #31AF60
square
#3141AF #AF3180 #AF9F31 #31AF60
split-complementary
#3141AF #AF6031 #80AF31
monochromatic
#161D4F #242F7F #3141AF #4F5FCE #7F8BDB
Accessibility & contrast
On white
8.38
#3141AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3141AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3141AF
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3141AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3141AF | 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)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3141af; /* rgb */ color: rgb(49, 65, 175); /* oklch */ color: oklch(43.5% 0.175 270.8);
Tailwind
colors: {
custom: {
50: '#7b75c8',
500: '#3141af',
950: '#000000',
},
}SCSS
$custom: #3141af; $custom-light: #7b75c8; $custom-dark: #000000;
JSON
{
"hex": "#3141af",
"rgb": {
"r": 49,
"g": 65,
"b": 175
},
"hsl": {
"h": 232.381,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.43479,
"c": 0.17467,
"h": 270.8
},
"luminance": 0.07529
}Semantic roles & 50–950 ramp
primary
#3141AF
secondary
#C4BA78
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82