#3E56D3#3E56D3

#3E56D3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.193 H 269.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3E56D3
RGBrgb(62, 86, 211)
HSLhsl(230, 63%, 54%)
HSVhsv(230, 71%, 83%)
CMYKcmyk(70.6%, 59.2%, 0%, 17.3%)
CIE-LABlab(41.82, 32.88, -67.07)
CIE-LCHlch(41.82, 74.70, 296.12°)
OKLaboklab(51.11% -0.0005 -0.1935)
OKLCHoklch(51.11% 0.193 269.8)
XYZxyz(17.0682, 12.3811, 63.1057)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56D3 #D3BB3E
analogous
#3EA0D3 #3E56D3 #703ED3
triadic
#3E56D3 #D33E56 #56D33E
tetradic
#3E56D3 #D33EA0 #D3BB3E #3ED370
square
#3E56D3 #D33EA0 #D3BB3E #3ED370
split-complementary
#3E56D3 #D3703E #A0D33E
monochromatic
#1C2B7B #273DAC #3E56D3 #7082DE #A2ADEA

Accessibility & contrast

On white

6.04
#3E56D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3E56D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56D3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56D3#FFFFFF#000000##FFFFFF
##3E56D31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e56d3;
/* rgb */ color: rgb(62, 86, 211);
/* oklch */ color: oklch(51.1% 0.193 269.8);
Tailwind
colors: {
  custom: {
    50: '#8685e1',
    500: '#3e56d3',
    950: '#000000',
  },
}
SCSS
$custom: #3e56d3;
$custom-light: #8685e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56d3",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 230.336,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.19349,
    "h": 269.8
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#3E56D3
secondary
#D6CC96
accent
#CB42E6
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #3E56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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