#3A3CB1#3A3CB1
#3A3CB1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.181 H 275.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3CB1 |
|---|---|
| RGB | rgb(58, 60, 177) |
| HSL | hsl(239, 51%, 46%) |
| HSV | hsv(239, 67%, 69%) |
| CMYK | cmyk(67.2%, 66.1%, 0%, 30.6%) |
| CIE-LAB | lab(32.49, 36.80, -62.45) |
| CIE-LCH | lch(32.49, 72.48, 300.51°) |
| OKLab | oklab(43.32% 0.016 -0.1802) |
| OKLCH | oklch(43.32% 0.181 275.1) |
| XYZ | xyz(11.2940, 7.3046, 42.4012) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Ocean Blue
#4F42B5
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 3.87
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Blueberry
#464196
ΔE00 4.85
Blurple
#5539CC
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3CB1 #B1AF3A
analogous
#3A77B1 #3A3CB1 #733AB1
triadic
#3A3CB1 #B13A3C #3CB13A
tetradic
#3A3CB1 #B13A77 #B1AF3A #3AB173
square
#3A3CB1 #B13A77 #B1AF3A #3AB173
split-complementary
#3A3CB1 #B1733A #77B13A
monochromatic
#1C1D55 #2B2C83 #3A3CB1 #5E60CA #8C8DD9
Accessibility & contrast
On white
8.53
#3A3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#3A3CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3CB1
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3CB1 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3a3cb1; /* rgb */ color: rgb(58, 60, 177); /* oklch */ color: oklch(43.3% 0.181 275.1);
Tailwind
colors: {
custom: {
50: '#7f72c9',
500: '#3a3cb1',
950: '#000000',
},
}SCSS
$custom: #3a3cb1; $custom-light: #7f72c9; $custom-dark: #000000;
JSON
{
"hex": "#3a3cb1",
"rgb": {
"r": 58,
"g": 60,
"b": 177
},
"hsl": {
"h": 238.992,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.43318,
"c": 0.18094,
"h": 275.1
},
"luminance": 0.07306
}Semantic roles & 50–950 ramp
primary
#3A3CB1
secondary
#C4C383
accent
#D84EDA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82