#3D5EC1#3D5EC1
#3D5EC1 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.160 H 266.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3D5EC1 |
|---|---|
| RGB | rgb(61, 94, 193) |
| HSL | hsl(225, 52%, 50%) |
| HSV | hsv(225, 68%, 76%) |
| CMYK | cmyk(68.4%, 51.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.53, 21.17, -55.52) |
| CIE-LCH | lch(42.53, 59.42, 290.88°) |
| OKLab | oklab(51.22% -0.0089 -0.1594) |
| OKLCH | oklch(51.22% 0.16 266.8) |
| XYZ | xyz(15.5495, 12.8462, 52.1018) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 4.96
Azul
#1D5DEC
ΔE00 5.10
French Blue
#436BAD
ΔE00 5.33
Warm Blue
#4B57DB
ΔE00 5.38
Royal Blue
#4169E1
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D5EC1 #C1A03D
analogous
#3DA0C1 #3D5EC1 #5E3DC1
triadic
#3D5EC1 #C13D5E #5EC13D
tetradic
#3D5EC1 #C13DA0 #C1A03D #3DC15E
square
#3D5EC1 #C13DA0 #C1A03D #3DC15E
split-complementary
#3D5EC1 #C15E3D #A0C13D
monochromatic
#203164 #2E4792 #3D5EC1 #6B84D0 #99ABDF
Accessibility & contrast
On white
5.88
#3D5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3D5EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3D5EC1
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D5EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D5EC1 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3d5ec1; /* rgb */ color: rgb(61, 94, 193); /* oklch */ color: oklch(51.2% 0.160 266.8);
Tailwind
colors: {
custom: {
50: '#828bd4',
500: '#3d5ec1',
950: '#000000',
},
}SCSS
$custom: #3d5ec1; $custom-light: #828bd4; $custom-dark: #000000;
JSON
{
"hex": "#3d5ec1",
"rgb": {
"r": 61,
"g": 94,
"b": 193
},
"hsl": {
"h": 225,
"s": 51.969,
"l": 49.804
},
"oklch": {
"l": 0.51224,
"c": 0.15968,
"h": 266.8
},
"luminance": 0.12848
}Semantic roles & 50–950 ramp
primary
#3D5EC1
secondary
#CBBC8F
accent
#B84CDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83