#3A25A8#3A25A8
#3A25A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.194 H 279.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3A25A8 |
|---|---|
| RGB | rgb(58, 37, 168) |
| HSL | hsl(250, 64%, 40%) |
| HSV | hsv(250, 78%, 66%) |
| CMYK | cmyk(65.5%, 78%, 0%, 34.1%) |
| CIE-LAB | lab(26.87, 47.01, -66.29) |
| CIE-LCH | lch(26.87, 81.27, 305.34°) |
| OKLab | oklab(39.04% 0.0329 -0.1914) |
| OKLCH | oklch(39.04% 0.194 279.8) |
| XYZ | xyz(9.4721, 5.0491, 37.5136) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.42
Ultramarine
#2000B1
ΔE00 5.21
True Blue
#010FCC
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 5.51
Royal
#0C1793
ΔE00 5.64
Violet Blue
#510AC9
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A25A8 #93A825
analogous
#2552A8 #3A25A8 #7B25A8
triadic
#3A25A8 #A83A25 #25A83A
tetradic
#3A25A8 #A82552 #93A825 #25A87B
square
#3A25A8 #A82552 #93A825 #25A87B
split-complementary
#3A25A8 #A87B25 #52A825
monochromatic
#170F44 #291A76 #3A25A8 #5037D3 #7C69DE
Accessibility & contrast
On white
10.45
#3A25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3A25A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A25A8
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A25A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A25A8 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a25a8; /* rgb */ color: rgb(58, 37, 168); /* oklch */ color: oklch(39.0% 0.194 279.8);
Tailwind
colors: {
custom: {
50: '#7f63c3',
500: '#3a25a8',
950: '#000000',
},
}SCSS
$custom: #3a25a8; $custom-light: #7f63c3; $custom-dark: #000000;
JSON
{
"hex": "#3a25a8",
"rgb": {
"r": 58,
"g": 37,
"b": 168
},
"hsl": {
"h": 249.618,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.39044,
"c": 0.19418,
"h": 279.8
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#3A25A8
secondary
#B5C465
accent
#E741CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82