#3A3FB0#3A3FB0
#3A3FB0 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.176 H 274.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FB0 |
|---|---|
| RGB | rgb(58, 63, 176) |
| HSL | hsl(237, 50%, 46%) |
| HSV | hsv(237, 67%, 69%) |
| CMYK | cmyk(67%, 64.2%, 0%, 31%) |
| CIE-LAB | lab(33.11, 34.58, -60.84) |
| CIE-LCH | lch(33.11, 69.98, 299.62°) |
| OKLab | oklab(43.74% 0.0138 -0.1755) |
| OKLCH | oklch(43.74% 0.176 274.5) |
| XYZ | xyz(11.3563, 7.5881, 41.9321) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Ocean Blue
#4F42B5
ΔE00 3.16
Blue Blue
#2242C7
ΔE00 3.58
Blueberry
#464196
ΔE00 4.53
Blue With A Hint Of Purple
#533CC6
ΔE00 5.00
Blurple
#5539CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FB0 #B0AB3A
analogous
#3A7AB0 #3A3FB0 #703AB0
triadic
#3A3FB0 #B03A3F #3FB03A
tetradic
#3A3FB0 #B03A7A #B0AB3A #3AB070
square
#3A3FB0 #B03A7A #B0AB3A #3AB070
split-complementary
#3A3FB0 #B0703A #7AB03A
monochromatic
#1C1E54 #2B2F82 #3A3FB0 #5D62CA #8B8FD9
Accessibility & contrast
On white
8.34
#3A3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#3A3FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FB0
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FB0 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3a3fb0; /* rgb */ color: rgb(58, 63, 176); /* oklch */ color: oklch(43.7% 0.176 274.5);
Tailwind
colors: {
custom: {
50: '#7f74c9',
500: '#3a3fb0',
950: '#000000',
},
}SCSS
$custom: #3a3fb0; $custom-light: #7f74c9; $custom-dark: #000000;
JSON
{
"hex": "#3a3fb0",
"rgb": {
"r": 58,
"g": 63,
"b": 176
},
"hsl": {
"h": 237.458,
"s": 50.427,
"l": 45.882
},
"oklch": {
"l": 0.43743,
"c": 0.17604,
"h": 274.5
},
"luminance": 0.07589
}Semantic roles & 50–950 ramp
primary
#3A3FB0
secondary
#C3C182
accent
#D44EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82