#3D5BD2#3D5BD2

#3D5BD2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.186 H 268.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3D5BD2
RGBrgb(61, 91, 210)
HSLhsl(228, 62%, 53%)
HSVhsv(228, 71%, 82%)
CMYKcmyk(71%, 56.7%, 0%, 17.6%)
CIE-LABlab(42.95, 29.23, -64.65)
CIE-LCHlch(42.95, 70.95, 294.33°)
OKLaboklab(51.93% -0.0053 -0.1863)
OKLCHoklch(51.93% 0.186 268.4)
XYZxyz(17.2944, 13.1256, 62.5823)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BD2 #D2B43D
analogous
#3DA6D2 #3D5BD2 #693DD2
triadic
#3D5BD2 #D23D5B #5BD23D
tetradic
#3D5BD2 #D23DA6 #D2B43D #3DD269
square
#3D5BD2 #D23DA6 #D2B43D #3DD269
split-complementary
#3D5BD2 #D2693D #A6D23D
monochromatic
#1C2F79 #2842AA #3D5BD2 #6F85DE #A0AFE9

Accessibility & contrast

On white

5.79
#3D5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3D5BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BD2#FFFFFF#000000##FFFFFF
##3D5BD21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5bd2;
/* rgb */ color: rgb(61, 91, 210);
/* oklch */ color: oklch(51.9% 0.186 268.4);
Tailwind
colors: {
  custom: {
    50: '#8589e1',
    500: '#3d5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bd2;
$custom-light: #8589e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bd2",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 227.919,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.1864,
    "h": 268.4
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#3D5BD2
secondary
#D6C995
accent
#C542E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3D5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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