#3A45C6#3A45C6
#3A45C6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.198 H 272.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3A45C6 |
|---|---|
| RGB | rgb(58, 69, 198) |
| HSL | hsl(235, 55%, 50%) |
| HSV | hsv(235, 71%, 78%) |
| CMYK | cmyk(70.7%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(36.43, 38.48, -68.36) |
| CIE-LCH | lch(36.43, 78.45, 299.37°) |
| OKLab | oklab(46.75% 0.0078 -0.1975) |
| OKLCH | oklch(46.75% 0.198 272.3) |
| XYZ | xyz(14.0627, 9.2316, 54.4559) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.06
Blue (survey)
#0343DF
ΔE00 3.47
Ocean Blue
#4F42B5
ΔE00 3.74
Blue With A Hint Of Purple
#533CC6
ΔE00 4.33
Blurple
#5539CC
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A45C6 #C6BB3A
analogous
#3A8BC6 #3A45C6 #753AC6
triadic
#3A45C6 #C63A45 #45C63A
tetradic
#3A45C6 #C63A8B #C6BB3A #3AC675
square
#3A45C6 #C63A8B #C6BB3A #3AC675
split-complementary
#3A45C6 #C6753A #8BC63A
monochromatic
#1E2468 #2C3497 #3A45C6 #6972D4 #999FE1
Accessibility & contrast
On white
7.38
#3A45C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#3A45C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A45C6
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A45C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A45C6 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3a45c6; /* rgb */ color: rgb(58, 69, 198); /* oklch */ color: oklch(46.8% 0.198 272.3);
Tailwind
colors: {
custom: {
50: '#8379d8',
500: '#3a45c6',
950: '#000000',
},
}SCSS
$custom: #3a45c6; $custom-light: #8379d8; $custom-dark: #000000;
JSON
{
"hex": "#3a45c6",
"rgb": {
"r": 58,
"g": 69,
"b": 198
},
"hsl": {
"h": 235.286,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.46754,
"c": 0.19768,
"h": 272.3
},
"luminance": 0.09233
}Semantic roles & 50–950 ramp
primary
#3A45C6
secondary
#CDC88F
accent
#D349DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83