#3D56C2#3D56C2

#3D56C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.171 H 269.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#3D56C2
RGBrgb(61, 86, 194)
HSLhsl(229, 52%, 50%)
HSVhsv(229, 69%, 76%)
CMYKcmyk(68.6%, 55.7%, 0%, 23.9%)
CIE-LABlab(40.48, 26.68, -59.42)
CIE-LCHlch(40.48, 65.14, 294.18°)
OKLaboklab(49.7% -0.0019 -0.171)
OKLCHoklch(49.7% 0.171 269.4)
XYZxyz(14.9865, 11.5413, 52.4664)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56C2 #C2A93D
analogous
#3D98C2 #3D56C2 #673DC2
triadic
#3D56C2 #C23D56 #56C23D
tetradic
#3D56C2 #C23D98 #C2A93D #3DC267
square
#3D56C2 #C23D98 #C2A93D #3DC267
split-complementary
#3D56C2 #C2673D #98C23D
monochromatic
#202D65 #2E4193 #3D56C2 #6C7FD1 #9AA7DF

Accessibility & contrast

On white

6.35
#3D56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3D56C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56C2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56C2#FFFFFF#000000##FFFFFF
##3D56C21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d56c2;
/* rgb */ color: rgb(61, 86, 194);
/* oklch */ color: oklch(49.7% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#8285d5',
    500: '#3d56c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d56c2;
$custom-light: #8285d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56c2",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 228.722,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.17104,
    "h": 269.4
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#3D56C2
secondary
#CBC090
accent
#C14CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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