#3D56CB#3D56CB

#3D56CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.183 H 269.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3D56CB
RGBrgb(61, 86, 203)
HSLhsl(229, 58%, 52%)
HSVhsv(229, 70%, 80%)
CMYKcmyk(70%, 57.6%, 0%, 20.4%)
CIE-LABlab(41.15, 29.91, -63.55)
CIE-LCHlch(41.15, 70.23, 295.20°)
OKLaboklab(50.41% -0.0016 -0.1832)
OKLCHoklch(50.41% 0.183 269.5)
XYZxyz(16.0281, 11.9579, 57.9517)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56CB #CBB23D
analogous
#3D9DCB #3D56CB #6B3DCB
triadic
#3D56CB #CB3D56 #56CB3D
tetradic
#3D56CB #CB3D9D #CBB23D #3DCB6B
square
#3D56CB #CB3D9D #CBB23D #3DCB6B
split-complementary
#3D56CB #CB6B3D #9DCB3D
monochromatic
#1E2C70 #2B3FA0 #3D56CB #6D80D8 #9EAAE5

Accessibility & contrast

On white

6.19
#3D56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3D56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56CB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56CB#FFFFFF#000000##FFFFFF
##3D56CB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d56cb;
/* rgb */ color: rgb(61, 86, 203);
/* oklch */ color: oklch(50.4% 0.183 269.5);
Tailwind
colors: {
  custom: {
    50: '#8485dc',
    500: '#3d56cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d56cb;
$custom-light: #8485dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56cb",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 229.437,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.18318,
    "h": 269.5
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#3D56CB
secondary
#D1C693
accent
#C647E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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