#3D56B2#3D56B2

#3D56B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.149 H 268.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3D56B2
RGBrgb(61, 86, 178)
HSLhsl(227, 49%, 47%)
HSVhsv(227, 66%, 70%)
CMYKcmyk(65.7%, 51.7%, 0%, 30.2%)
CIE-LABlab(39.34, 20.93, -51.89)
CIE-LCHlch(39.34, 55.95, 291.97°)
OKLaboklab(48.49% -0.003 -0.1489)
OKLCHoklch(48.49% 0.149 268.8)
XYZxyz(13.2854, 10.8608, 43.5071)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56B2 #B2993D
analogous
#3D91B2 #3D56B2 #5E3DB2
triadic
#3D56B2 #B23D56 #56B23D
tetradic
#3D56B2 #B23D91 #B2993D #3DB25E
square
#3D56B2 #B23D91 #B2993D #3DB25E
split-complementary
#3D56B2 #B25E3D #91B23D
monochromatic
#1E2A57 #2D4084 #3D56B2 #6379C9 #90A0D9

Accessibility & contrast

On white

6.62
#3D56B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3D56B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56B2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56B2#FFFFFF#000000##FFFFFF
##3D56B21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d56b2;
/* rgb */ color: rgb(61, 86, 178);
/* oklch */ color: oklch(48.5% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#7f85ca',
    500: '#3d56b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d56b2;
$custom-light: #7f85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56b2",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 227.179,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.14889,
    "h": 268.8
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#3D56B2
secondary
#C4B787
accent
#BB4FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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