#3D56BE#3D56BE

#3D56BE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.166 H 269.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3D56BE
RGBrgb(61, 86, 190)
HSLhsl(228, 51%, 49%)
HSVhsv(228, 68%, 75%)
CMYKcmyk(67.9%, 54.7%, 0%, 25.5%)
CIE-LABlab(40.19, 25.25, -57.56)
CIE-LCHlch(40.19, 62.86, 293.68°)
OKLaboklab(49.39% -0.0021 -0.1656)
OKLCHoklch(49.39% 0.166 269.3)
XYZxyz(14.5433, 11.3640, 50.1322)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56BE #BEA53D
analogous
#3D97BE #3D56BE #653DBE
triadic
#3D56BE #BE3D56 #56BE3D
tetradic
#3D56BE #BE3D97 #BEA53D #3DBE65
square
#3D56BE #BE3D97 #BEA53D #3DBE65
split-complementary
#3D56BE #BE653D #97BE3D
monochromatic
#1F2C61 #2E4190 #3D56BE #697DCF #98A5DE

Accessibility & contrast

On white

6.42
#3D56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3D56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56BE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56BE#FFFFFF#000000##FFFFFF
##3D56BE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d56be;
/* rgb */ color: rgb(61, 86, 190);
/* oklch */ color: oklch(49.4% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#8185d2',
    500: '#3d56be',
    950: '#000000',
  },
}
SCSS
$custom: #3d56be;
$custom-light: #8185d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56be",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 228.372,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.16557,
    "h": 269.3
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#3D56BE
secondary
#C9BE8D
accent
#BF4DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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