#3D56C5#3D56C5

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

Color values

HEX#3D56C5
RGBrgb(61, 86, 197)
HSLhsl(229, 54%, 51%)
HSVhsv(229, 69%, 77%)
CMYKcmyk(69%, 56.3%, 0%, 22.7%)
CIE-LABlab(40.70, 27.76, -60.81)
CIE-LCHlch(40.70, 66.84, 294.54°)
OKLaboklab(49.93% -0.0018 -0.1751)
OKLCHoklch(49.93% 0.175 269.4)
XYZxyz(15.3269, 11.6774, 54.2587)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56C5 #C5AC3D
analogous
#3D9AC5 #3D56C5 #683DC5
triadic
#3D56C5 #C53D56 #56C53D
tetradic
#3D56C5 #C53D9A #C5AC3D #3DC568
square
#3D56C5 #C53D9A #C5AC3D #3DC568
split-complementary
#3D56C5 #C5683D #9AC53D
monochromatic
#1F2D68 #2D4198 #3D56C5 #6C7FD3 #9BA8E1

Accessibility & contrast

On white

6.30
#3D56C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3D56C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56C5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56C5#FFFFFF#000000##FFFFFF
##3D56C51.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d56c5;
/* rgb */ color: rgb(61, 86, 197);
/* oklch */ color: oklch(49.9% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#8385d7',
    500: '#3d56c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d56c5;
$custom-light: #8385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56c5",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 228.971,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.17511,
    "h": 269.4
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#3D56C5
secondary
#CDC291
accent
#C24ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D56C5

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

Preview Lab → · Contrast checker → · Palette generator →

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