#3D56C4#3D56C4

#3D56C4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.174 H 269.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3D56C4
RGBrgb(61, 86, 196)
HSLhsl(229, 53%, 50%)
HSVhsv(229, 69%, 77%)
CMYKcmyk(68.9%, 56.1%, 0%, 23.1%)
CIE-LABlab(40.62, 27.40, -60.35)
CIE-LCHlch(40.62, 66.28, 294.42°)
OKLaboklab(49.85% -0.0018 -0.1737)
OKLCHoklch(49.85% 0.174 269.4)
XYZxyz(15.2127, 11.6317, 53.6573)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56C4 #C4AB3D
analogous
#3D99C4 #3D56C4 #673DC4
triadic
#3D56C4 #C43D56 #56C43D
tetradic
#3D56C4 #C43D99 #C4AB3D #3DC467
square
#3D56C4 #C43D99 #C4AB3D #3DC467
split-complementary
#3D56C4 #C4673D #99C43D
monochromatic
#1F2D67 #2E4196 #3D56C4 #6C7FD2 #9BA8E1

Accessibility & contrast

On white

6.31
#3D56C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3D56C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56C4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56C4#FFFFFF#000000##FFFFFF
##3D56C41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d56c4;
/* rgb */ color: rgb(61, 86, 196);
/* oklch */ color: oklch(49.9% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#8385d7',
    500: '#3d56c4',
    950: '#000000',
  },
}
SCSS
$custom: #3d56c4;
$custom-light: #8385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56c4",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 228.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49854,
    "c": 0.17376,
    "h": 269.4
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#3D56C4
secondary
#CDC190
accent
#C24BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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