#3D56C5#3D56C5
#3D56C5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.175 H 269.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3D56C5 |
|---|---|
| RGB | rgb(61, 86, 197) |
| HSL | hsl(229, 54%, 51%) |
| HSV | hsv(229, 69%, 77%) |
| CMYK | cmyk(69%, 56.3%, 0%, 22.7%) |
| CIE-LAB | lab(40.70, 27.76, -60.81) |
| CIE-LCH | lch(40.70, 66.84, 294.54°) |
| OKLab | oklab(49.93% -0.0018 -0.1751) |
| OKLCH | oklch(49.93% 0.175 269.4) |
| XYZ | xyz(15.3269, 11.6774, 54.2587) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 4.57
Azul
#1D5DEC
ΔE00 5.39
Iris
#6258C4
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 6.10
Blue (survey)
#0343DF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D56C5 #C5AC3D
analogous
#3D9AC5 #3D56C5 #683DC5
triadic
#3D56C5 #C53D56 #56C53D
tetradic
#3D56C5 #C53D9A #C5AC3D #3DC568
square
#3D56C5 #C53D9A #C5AC3D #3DC568
split-complementary
#3D56C5 #C5683D #9AC53D
monochromatic
#1F2D68 #2D4198 #3D56C5 #6C7FD3 #9BA8E1
Accessibility & contrast
On white
6.30
#3D56C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#3D56C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3D56C5
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D56C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D56C5 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3d56c5; /* rgb */ color: rgb(61, 86, 197); /* oklch */ color: oklch(49.9% 0.175 269.4);
Tailwind
colors: {
custom: {
50: '#8385d7',
500: '#3d56c5',
950: '#000000',
},
}SCSS
$custom: #3d56c5; $custom-light: #8385d7; $custom-dark: #000000;
JSON
{
"hex": "#3d56c5",
"rgb": {
"r": 61,
"g": 86,
"b": 197
},
"hsl": {
"h": 228.971,
"s": 53.968,
"l": 50.588
},
"oklch": {
"l": 0.49933,
"c": 0.17511,
"h": 269.4
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#3D56C5
secondary
#CDC291
accent
#C24ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83