#3D56C8#3D56C8
#3D56C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.179 H 269.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3D56C8 |
|---|---|
| RGB | rgb(61, 86, 200) |
| HSL | hsl(229, 56%, 51%) |
| HSV | hsv(229, 70%, 78%) |
| CMYK | cmyk(69.5%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(40.92, 28.83, -62.18) |
| CIE-LCH | lch(40.92, 68.54, 294.88°) |
| OKLab | oklab(50.17% -0.0017 -0.1791) |
| OKLCH | oklch(50.17% 0.179 269.5) |
| XYZ | xyz(15.6740, 11.8163, 56.0871) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.46
Sapphire
#0F52BA
ΔE00 4.81
Azul
#1D5DEC
ΔE00 5.09
Iris
#6258C4
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.09
Blue (survey)
#0343DF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D56C8 #C8AF3D
analogous
#3D9BC8 #3D56C8 #693DC8
triadic
#3D56C8 #C83D56 #56C83D
tetradic
#3D56C8 #C83D9B #C8AF3D #3DC869
square
#3D56C8 #C83D9B #C8AF3D #3DC869
split-complementary
#3D56C8 #C8693D #9BC83D
monochromatic
#1F2D6C #2C409C #3D56C8 #6D80D6 #9CA9E3
Accessibility & contrast
On white
6.24
#3D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#3D56C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3D56C8
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D56C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D56C8 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3d56c8; /* rgb */ color: rgb(61, 86, 200); /* oklch */ color: oklch(50.2% 0.179 269.5);
Tailwind
colors: {
custom: {
50: '#8385da',
500: '#3d56c8',
950: '#000000',
},
}SCSS
$custom: #3d56c8; $custom-light: #8385da; $custom-dark: #000000;
JSON
{
"hex": "#3d56c8",
"rgb": {
"r": 61,
"g": 86,
"b": 200
},
"hsl": {
"h": 229.209,
"s": 55.823,
"l": 51.176
},
"oklch": {
"l": 0.50171,
"c": 0.17916,
"h": 269.5
},
"luminance": 0.11818
}Semantic roles & 50–950 ramp
primary
#3D56C8
secondary
#CFC492
accent
#C449DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83