#3D56CE#3D56CE

#3D56CE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.187 H 269.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3D56CE
RGBrgb(61, 86, 206)
HSLhsl(230, 60%, 52%)
HSVhsv(230, 70%, 81%)
CMYKcmyk(70.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(41.38, 30.98, -64.91)
CIE-LCHlch(41.38, 71.92, 295.51°)
OKLaboklab(50.65% -0.0015 -0.1872)
OKLCHoklch(50.65% 0.187 269.5)
XYZxyz(16.3890, 12.1023, 59.8528)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56CE #CEB53D
analogous
#3D9FCE #3D56CE #6C3DCE
triadic
#3D56CE #CE3D56 #56CE3D
tetradic
#3D56CE #CE3D9F #CEB53D #3DCE6C
square
#3D56CE #CE3D9F #CEB53D #3DCE6C
split-complementary
#3D56CE #CE6C3D #9FCE3D
monochromatic
#1D2C73 #293FA4 #3D56CE #6E81DA #9FABE7

Accessibility & contrast

On white

6.14
#3D56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3D56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56CE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56CE#FFFFFF#000000##FFFFFF
##3D56CE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d56ce;
/* rgb */ color: rgb(61, 86, 206);
/* oklch */ color: oklch(50.7% 0.187 269.5);
Tailwind
colors: {
  custom: {
    50: '#8585de',
    500: '#3d56ce',
    950: '#000000',
  },
}
SCSS
$custom: #3d56ce;
$custom-light: #8585de;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56ce",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 229.655,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.18717,
    "h": 269.5
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#3D56CE
secondary
#D3C894
accent
#C845E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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