#3E56D9#3E56D9

#3E56D9 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.6% C 0.201 H 269.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3E56D9
RGBrgb(62, 86, 217)
HSLhsl(231, 67%, 55%)
HSVhsv(231, 71%, 85%)
CMYKcmyk(71.4%, 60.4%, 0%, 14.9%)
CIE-LABlab(42.29, 35.00, -69.73)
CIE-LCHlch(42.29, 78.03, 296.66°)
OKLaboklab(51.61% -0.0006 -0.2013)
OKLCHoklch(51.61% 0.201 269.8)
XYZxyz(17.8345, 12.6876, 67.1412)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56D9 #D9C13E
analogous
#3EA3D9 #3E56D9 #743ED9
triadic
#3E56D9 #D93E56 #56D93E
tetradic
#3E56D9 #D93EA3 #D9C13E #3ED974
square
#3E56D9 #D93EA3 #D9C13E #3ED974
split-complementary
#3E56D9 #D9743E #A3D93E
monochromatic
#1A2A83 #243AB6 #3E56D9 #7183E3 #A4B0ED

Accessibility & contrast

On white

5.94
#3E56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3E56D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56D9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56D9#FFFFFF#000000##FFFFFF
##3E56D91.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e56d9;
/* rgb */ color: rgb(62, 86, 217);
/* oklch */ color: oklch(51.6% 0.201 269.8);
Tailwind
colors: {
  custom: {
    50: '#8785e6',
    500: '#3e56d9',
    950: '#000000',
  },
}
SCSS
$custom: #3e56d9;
$custom-light: #8785e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56d9",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 230.71,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.20131,
    "h": 269.8
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#3E56D9
secondary
#DAD099
accent
#CF3EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3E56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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