#3D56C8#3D56C8

#3D56C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.179 H 269.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3D56C8
RGBrgb(61, 86, 200)
HSLhsl(229, 56%, 51%)
HSVhsv(229, 70%, 78%)
CMYKcmyk(69.5%, 57%, 0%, 21.6%)
CIE-LABlab(40.92, 28.83, -62.18)
CIE-LCHlch(40.92, 68.54, 294.88°)
OKLaboklab(50.17% -0.0017 -0.1791)
OKLCHoklch(50.17% 0.179 269.5)
XYZxyz(15.6740, 11.8163, 56.0871)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56C8 #C8AF3D
analogous
#3D9BC8 #3D56C8 #693DC8
triadic
#3D56C8 #C83D56 #56C83D
tetradic
#3D56C8 #C83D9B #C8AF3D #3DC869
square
#3D56C8 #C83D9B #C8AF3D #3DC869
split-complementary
#3D56C8 #C8693D #9BC83D
monochromatic
#1F2D6C #2C409C #3D56C8 #6D80D6 #9CA9E3

Accessibility & contrast

On white

6.24
#3D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3D56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56C8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56C8#FFFFFF#000000##FFFFFF
##3D56C81.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d56c8;
/* rgb */ color: rgb(61, 86, 200);
/* oklch */ color: oklch(50.2% 0.179 269.5);
Tailwind
colors: {
  custom: {
    50: '#8385da',
    500: '#3d56c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d56c8;
$custom-light: #8385da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56c8",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 229.209,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.17916,
    "h": 269.5
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#3D56C8
secondary
#CFC492
accent
#C449DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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