#3E56D2#3E56D2

#3E56D2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.192 H 269.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3E56D2
RGBrgb(62, 86, 210)
HSLhsl(230, 62%, 53%)
HSVhsv(230, 70%, 82%)
CMYKcmyk(70.5%, 59%, 0%, 17.6%)
CIE-LABlab(41.74, 32.53, -66.62)
CIE-LCHlch(41.74, 74.14, 296.03°)
OKLaboklab(51.03% -0.0005 -0.1922)
OKLCHoklch(51.03% 0.192 269.8)
XYZxyz(16.9433, 12.3311, 62.4475)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56D2 #D2BA3E
analogous
#3EA0D2 #3E56D2 #703ED2
triadic
#3E56D2 #D23E56 #56D23E
tetradic
#3E56D2 #D23EA0 #D2BA3E #3ED270
square
#3E56D2 #D23EA0 #D2BA3E #3ED270
split-complementary
#3E56D2 #D2703E #A0D23E
monochromatic
#1C2B79 #283DAB #3E56D2 #7081DE #A1ADE9

Accessibility & contrast

On white

6.06
#3E56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3E56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56D2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56D2#FFFFFF#000000##FFFFFF
##3E56D21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3e56d2;
/* rgb */ color: rgb(62, 86, 210);
/* oklch */ color: oklch(51.0% 0.192 269.8);
Tailwind
colors: {
  custom: {
    50: '#8685e1',
    500: '#3e56d2',
    950: '#000000',
  },
}
SCSS
$custom: #3e56d2;
$custom-light: #8685e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56d2",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 230.27,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.19217,
    "h": 269.8
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#3E56D2
secondary
#D6CB96
accent
#CB43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3E56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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