#3D56BC#3D56BC

#3D56BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.163 H 269.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3D56BC
RGBrgb(61, 86, 188)
HSLhsl(228, 51%, 49%)
HSVhsv(228, 68%, 74%)
CMYKcmyk(67.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(40.04, 24.53, -56.63)
CIE-LCHlch(40.04, 61.71, 293.42°)
OKLaboklab(49.23% -0.0022 -0.1628)
OKLCHoklch(49.23% 0.163 269.2)
XYZxyz(14.3263, 11.2772, 48.9889)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56BC #BCA33D
analogous
#3D96BC #3D56BC #643DBC
triadic
#3D56BC #BC3D56 #56BC3D
tetradic
#3D56BC #BC3D96 #BCA33D #3DBC64
square
#3D56BC #BC3D96 #BCA33D #3DBC64
split-complementary
#3D56BC #BC643D #96BC3D
monochromatic
#1F2C60 #2E418E #3D56BC #687CCE #96A4DD

Accessibility & contrast

On white

6.45
#3D56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3D56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56BC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56BC#FFFFFF#000000##FFFFFF
##3D56BC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d56bc;
/* rgb */ color: rgb(61, 86, 188);
/* oklch */ color: oklch(49.2% 0.163 269.2);
Tailwind
colors: {
  custom: {
    50: '#8185d1',
    500: '#3d56bc',
    950: '#000000',
  },
}
SCSS
$custom: #3d56bc;
$custom-light: #8185d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56bc",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 228.189,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.16283,
    "h": 269.2
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#3D56BC
secondary
#C9BD8C
accent
#BF4DDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3D56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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