#3E56C2#3E56C2

#3E56C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.171 H 269.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3E56C2
RGBrgb(62, 86, 194)
HSLhsl(229, 52%, 50%)
HSVhsv(229, 68%, 76%)
CMYKcmyk(68%, 55.7%, 0%, 23.9%)
CIE-LABlab(40.53, 26.83, -59.33)
CIE-LCHlch(40.53, 65.12, 294.33°)
OKLaboklab(49.75% -0.0009 -0.1708)
OKLCHoklch(49.75% 0.171 269.7)
XYZxyz(15.0487, 11.5733, 52.4693)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56C2 #C2AA3E
analogous
#3E98C2 #3E56C2 #683EC2
triadic
#3E56C2 #C23E56 #56C23E
tetradic
#3E56C2 #C23E98 #C2AA3E #3EC268
square
#3E56C2 #C23E98 #C2AA3E #3EC268
split-complementary
#3E56C2 #C2683E #98C23E
monochromatic
#202D66 #2F4194 #3E56C2 #6D7FD1 #9BA7DF

Accessibility & contrast

On white

6.33
#3E56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3E56C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56C2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56C2#FFFFFF#000000##FFFFFF
##3E56C21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e56c2;
/* rgb */ color: rgb(62, 86, 194);
/* oklch */ color: oklch(49.8% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#8385d5',
    500: '#3e56c2',
    950: '#000000',
  },
}
SCSS
$custom: #3e56c2;
$custom-light: #8385d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56c2",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 229.091,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.17076,
    "h": 269.7
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#3E56C2
secondary
#CBC190
accent
#C14CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E56C2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E56C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva