#3133A7#3133A7
#3133A7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.181 H 274.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3133A7 |
|---|---|
| RGB | rgb(49, 51, 167) |
| HSL | hsl(239, 55%, 42%) |
| HSV | hsv(239, 71%, 65%) |
| CMYK | cmyk(70.7%, 69.5%, 0%, 34.5%) |
| CIE-LAB | lab(28.93, 37.76, -62.33) |
| CIE-LCH | lch(28.93, 72.87, 301.21°) |
| OKLab | oklab(40.3% 0.0126 -0.1801) |
| OKLCH | oklch(40.3% 0.181 274) |
| XYZ | xyz(9.4232, 5.8097, 37.1765) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.39
Blueberry
#464196
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.61
Indigo Blue
#3A18B1
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3133A7 #A7A531
analogous
#316EA7 #3133A7 #6A31A7
triadic
#3133A7 #A73133 #33A731
tetradic
#3133A7 #A7316E #A7A531 #31A76A
square
#3133A7 #A7316E #A7A531 #31A76A
split-complementary
#3133A7 #A76A31 #6EA731
monochromatic
#151648 #232578 #3133A7 #4B4DCA #7A7CD8
Accessibility & contrast
On white
9.71
#3133A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3133A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3133A7
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3133A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3133A7 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3133a7; /* rgb */ color: rgb(49, 51, 167); /* oklch */ color: oklch(40.3% 0.181 274.0);
Tailwind
colors: {
custom: {
50: '#7a6bc2',
500: '#3133a7',
950: '#000000',
},
}SCSS
$custom: #3133a7; $custom-light: #7a6bc2; $custom-dark: #000000;
JSON
{
"hex": "#3133a7",
"rgb": {
"r": 49,
"g": 51,
"b": 167
},
"hsl": {
"h": 238.983,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.40302,
"c": 0.18057,
"h": 274
},
"luminance": 0.05811
}Semantic roles & 50–950 ramp
primary
#3133A7
secondary
#C1BF73
accent
#DB4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82