#3D51C8#3D51C8
#3D51C8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.185 H 270.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3D51C8 |
|---|---|
| RGB | rgb(61, 81, 200) |
| HSL | hsl(231, 56%, 51%) |
| HSV | hsv(231, 70%, 78%) |
| CMYK | cmyk(69.5%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(39.66, 32.02, -64.24) |
| CIE-LCH | lch(39.66, 71.78, 296.50°) |
| OKLab | oklab(49.23% 0.0023 -0.1853) |
| OKLCH | oklch(49.23% 0.185 270.7) |
| XYZ | xyz(15.2887, 11.0456, 55.9587) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 4.63
Blue (survey)
#0343DF
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.20
Iris
#6258C4
ΔE00 5.72
Azul
#1D5DEC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D51C8 #C8B43D
analogous
#3D96C8 #3D51C8 #6E3DC8
triadic
#3D51C8 #C83D51 #51C83D
tetradic
#3D51C8 #C83D96 #C8B43D #3DC86E
square
#3D51C8 #C83D96 #C8B43D #3DC86E
split-complementary
#3D51C8 #C86E3D #96C83D
monochromatic
#1F2A6C #2C3C9C #3D51C8 #6D7CD6 #9CA7E3
Accessibility & contrast
On white
6.54
#3D51C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3D51C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3D51C8
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D51C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D51C8 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3d51c8; /* rgb */ color: rgb(61, 81, 200); /* oklch */ color: oklch(49.2% 0.185 270.7);
Tailwind
colors: {
custom: {
50: '#8481da',
500: '#3d51c8',
950: '#000000',
},
}SCSS
$custom: #3d51c8; $custom-light: #8481da; $custom-dark: #000000;
JSON
{
"hex": "#3d51c8",
"rgb": {
"r": 61,
"g": 81,
"b": 200
},
"hsl": {
"h": 231.367,
"s": 55.823,
"l": 51.176
},
"oklch": {
"l": 0.49228,
"c": 0.18527,
"h": 270.7
},
"luminance": 0.11047
}Semantic roles & 50–950 ramp
primary
#3D51C8
secondary
#CFC692
accent
#C949DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83