#3E56BA#3E56BA
#3E56BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.160 H 269.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3E56BA |
|---|---|
| RGB | rgb(62, 86, 186) |
| HSL | hsl(228, 50%, 49%) |
| HSV | hsv(228, 67%, 73%) |
| CMYK | cmyk(66.7%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.95, 23.97, -55.60) |
| CIE-LCH | lch(39.95, 60.54, 293.32°) |
| OKLab | oklab(49.14% -0.0014 -0.1598) |
| OKLCH | oklch(49.14% 0.16 269.5) |
| XYZ | xyz(14.1743, 11.2236, 47.8642) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.08
Warm Blue
#4B57DB
ΔE00 5.19
Denim Blue
#3B5B92
ΔE00 6.13
Iris
#6258C4
ΔE00 6.30
Dusky Blue
#475F94
ΔE00 6.33
Cobalt
#0047AB
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E56BA #BAA23E
analogous
#3E94BA #3E56BA #643EBA
triadic
#3E56BA #BA3E56 #56BA3E
tetradic
#3E56BA #BA3E94 #BAA23E #3EBA64
square
#3E56BA #BA3E94 #BAA23E #3EBA64
split-complementary
#3E56BA #BA643E #94BA3E
monochromatic
#1F2C5E #2F418C #3E56BA #687CCD #96A4DC
Accessibility & contrast
On white
6.47
#3E56BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#3E56BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E56BA
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E56BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E56BA | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F64BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3e56ba; /* rgb */ color: rgb(62, 86, 186); /* oklch */ color: oklch(49.1% 0.160 269.5);
Tailwind
colors: {
custom: {
50: '#8185cf',
500: '#3e56ba',
950: '#000000',
},
}SCSS
$custom: #3e56ba; $custom-light: #8185cf; $custom-dark: #000000;
JSON
{
"hex": "#3e56ba",
"rgb": {
"r": 62,
"g": 86,
"b": 186
},
"hsl": {
"h": 228.387,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.49136,
"c": 0.15977,
"h": 269.5
},
"luminance": 0.11225
}Semantic roles & 50–950 ramp
primary
#3E56BA
secondary
#C8BC8C
accent
#BF4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82