#3E56C3#3E56C3

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

Color values

HEX#3E56C3
RGBrgb(62, 86, 195)
HSLhsl(229, 53%, 50%)
HSVhsv(229, 68%, 76%)
CMYKcmyk(68.2%, 55.9%, 0%, 23.5%)
CIE-LABlab(40.60, 27.19, -59.80)
CIE-LCHlch(40.60, 65.69, 294.45°)
OKLaboklab(49.83% -0.0009 -0.1721)
OKLCHoklch(49.83% 0.172 269.7)
XYZxyz(15.1614, 11.6184, 53.0627)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56C3 #C3AB3E
analogous
#3E98C3 #3E56C3 #683EC3
triadic
#3E56C3 #C33E56 #56C33E
tetradic
#3E56C3 #C33E98 #C3AB3E #3EC368
square
#3E56C3 #C33E98 #C3AB3E #3EC368
split-complementary
#3E56C3 #C3683E #98C33E
monochromatic
#202D67 #2E4195 #3E56C3 #6D7FD2 #9BA8E0

Accessibility & contrast

On white

6.32
#3E56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E56C3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56C3#FFFFFF#000000##FFFFFF
##3E56C31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e56c3;
/* rgb */ color: rgb(62, 86, 195);
/* oklch */ color: oklch(49.8% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#8385d6',
    500: '#3e56c3',
    950: '#000000',
  },
}
SCSS
$custom: #3e56c3;
$custom-light: #8385d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56c3",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 229.173,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.17212,
    "h": 269.7
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#3E56C3
secondary
#CCC191
accent
#C24CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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