#3A28AF#3A28AF
#3A28AF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.2% C 0.200 H 278.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3A28AF |
|---|---|
| RGB | rgb(58, 40, 175) |
| HSL | hsl(248, 63%, 42%) |
| HSV | hsv(248, 77%, 69%) |
| CMYK | cmyk(66.9%, 77.1%, 0%, 31.4%) |
| CIE-LAB | lab(28.14, 47.63, -68.40) |
| CIE-LCH | lch(28.14, 83.35, 304.85°) |
| OKLab | oklab(40.15% 0.0294 -0.1975) |
| OKLCH | oklch(40.15% 0.2 278.5) |
| XYZ | xyz(10.2391, 5.5114, 41.0734) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.79
True Blue
#010FCC
ΔE00 5.12
Violet Blue
#510AC9
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.41
Ultramarine
#2000B1
ΔE00 5.75
Mediumblue
#0000CD
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A28AF #9DAF28
analogous
#285AAF #3A28AF #7E28AF
triadic
#3A28AF #AF3A28 #28AF3A
tetradic
#3A28AF #AF285A #9DAF28 #28AF7E
square
#3A28AF #AF285A #9DAF28 #28AF7E
split-complementary
#3A28AF #AF7E28 #5AAF28
monochromatic
#19114B #291D7D #3A28AF #5441D4 #8173DF
Accessibility & contrast
On white
9.99
#3A28AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3A28AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A28AF
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A28AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A28AF | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a28af; /* rgb */ color: rgb(58, 40, 175); /* oklch */ color: oklch(40.2% 0.200 278.5);
Tailwind
colors: {
custom: {
50: '#8165c8',
500: '#3a28af',
950: '#000000',
},
}SCSS
$custom: #3a28af; $custom-light: #8165c8; $custom-dark: #000000;
JSON
{
"hex": "#3a28af",
"rgb": {
"r": 58,
"g": 40,
"b": 175
},
"hsl": {
"h": 248,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.40153,
"c": 0.19972,
"h": 278.5
},
"luminance": 0.05512
}Semantic roles & 50–950 ramp
primary
#3A28AF
secondary
#BAC66D
accent
#E642D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82