#3A58B2#3A58B2
#3A58B2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.147 H 267.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3A58B2 |
|---|---|
| RGB | rgb(58, 88, 178) |
| HSL | hsl(225, 51%, 46%) |
| HSV | hsv(225, 67%, 70%) |
| CMYK | cmyk(67.4%, 50.6%, 0%, 30.2%) |
| CIE-LAB | lab(39.74, 19.13, -51.27) |
| CIE-LCH | lch(39.74, 54.72, 290.47°) |
| OKLab | oklab(48.74% -0.0078 -0.1471) |
| OKLCH | oklch(48.74% 0.147 267) |
| XYZ | xyz(13.2678, 11.0921, 43.5526) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.51
Denim Blue
#3B5B92
ΔE00 4.60
Dusky Blue
#475F94
ΔE00 5.07
Denim
#1560BD
ΔE00 5.21
Cobalt
#0047AB
ΔE00 6.10
Dusk Blue
#26538D
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A58B2 #B2943A
analogous
#3A94B2 #3A58B2 #583AB2
triadic
#3A58B2 #B23A58 #58B23A
tetradic
#3A58B2 #B23A94 #B2943A #3AB258
square
#3A58B2 #B23A94 #B2943A #3AB258
split-complementary
#3A58B2 #B2583A #94B23A
monochromatic
#1C2A56 #2B4184 #3A58B2 #5F7ACB #8DA0DA
Accessibility & contrast
On white
6.52
#3A58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3A58B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A58B2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A58B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A58B2 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a58b2; /* rgb */ color: rgb(58, 88, 178); /* oklch */ color: oklch(48.7% 0.147 267.0);
Tailwind
colors: {
custom: {
50: '#7e86ca',
500: '#3a58b2',
950: '#000000',
},
}SCSS
$custom: #3a58b2; $custom-light: #7e86ca; $custom-dark: #000000;
JSON
{
"hex": "#3a58b2",
"rgb": {
"r": 58,
"g": 88,
"b": 178
},
"hsl": {
"h": 225,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.48738,
"c": 0.14728,
"h": 267
},
"luminance": 0.11093
}Semantic roles & 50–950 ramp
primary
#3A58B2
secondary
#C4B483
accent
#B74DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82