#3A3DAF#3A3DAF
#3A3DAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.177 H 275.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3DAF |
|---|---|
| RGB | rgb(58, 61, 175) |
| HSL | hsl(238, 50%, 46%) |
| HSV | hsv(238, 67%, 69%) |
| CMYK | cmyk(66.9%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(32.55, 35.49, -61.16) |
| CIE-LCH | lch(32.55, 70.71, 300.13°) |
| OKLab | oklab(43.31% 0.0154 -0.1764) |
| OKLCH | oklch(43.31% 0.177 275) |
| XYZ | xyz(11.1490, 7.3312, 41.3766) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Ocean Blue
#4F42B5
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 3.92
Blueberry
#464196
ΔE00 4.53
Blue With A Hint Of Purple
#533CC6
ΔE00 4.94
Blurple
#5539CC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3DAF #AFAC3A
analogous
#3A77AF #3A3DAF #723AAF
triadic
#3A3DAF #AF3A3D #3DAF3A
tetradic
#3A3DAF #AF3A77 #AFAC3A #3AAF72
square
#3A3DAF #AF3A77 #AFAC3A #3AAF72
split-complementary
#3A3DAF #AF723A #77AF3A
monochromatic
#1C1D53 #2B2D81 #3A3DAF #5D60C9 #8B8DD9
Accessibility & contrast
On white
8.51
#3A3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#3A3DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3DAF
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3DAF | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3a3daf; /* rgb */ color: rgb(58, 61, 175); /* oklch */ color: oklch(43.3% 0.177 275.0);
Tailwind
colors: {
custom: {
50: '#7f73c8',
500: '#3a3daf',
950: '#000000',
},
}SCSS
$custom: #3a3daf; $custom-light: #7f73c8; $custom-dark: #000000;
JSON
{
"hex": "#3a3daf",
"rgb": {
"r": 58,
"g": 61,
"b": 175
},
"hsl": {
"h": 238.462,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.43307,
"c": 0.17712,
"h": 275
},
"luminance": 0.07332
}Semantic roles & 50–950 ramp
primary
#3A3DAF
secondary
#C3C182
accent
#D64EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82