#3D70D2#3D70D2

#3D70D2 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.161 H 261.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3D70D2
RGBrgb(61, 112, 210)
HSLhsl(219, 62%, 53%)
HSVhsv(219, 71%, 82%)
CMYKcmyk(71%, 46.7%, 0%, 17.6%)
CIE-LABlab(48.55, 15.89, -55.60)
CIE-LCHlch(48.55, 57.82, 285.95°)
OKLaboklab(56.17% -0.0226 -0.1594)
OKLCHoklch(56.17% 0.161 261.9)
XYZxyz(19.3473, 17.2315, 63.2667)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D70D2 #D29F3D
analogous
#3DBAD2 #3D70D2 #543DD2
triadic
#3D70D2 #D23D70 #70D23D
tetradic
#3D70D2 #D23DBA #D29F3D #3DD254
square
#3D70D2 #D23DBA #D29F3D #3DD254
split-complementary
#3D70D2 #D2543D #BAD23D
monochromatic
#1C3C79 #2854AA #3D70D2 #6F95DE #A0B9E9

Accessibility & contrast

On white

4.72
#3D70D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3D70D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D70D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D70D2#FFFFFF#000000##FFFFFF
##3D70D21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#196DD0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d70d2;
/* rgb */ color: rgb(61, 112, 210);
/* oklch */ color: oklch(56.2% 0.161 261.9);
Tailwind
colors: {
  custom: {
    50: '#8498e0',
    500: '#3d70d2',
    950: '#000000',
  },
}
SCSS
$custom: #3d70d2;
$custom-light: #8498e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d70d2",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 219.463,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.16097,
    "h": 261.9
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#3D70D2
secondary
#D6C095
accent
#AE42E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D70D2

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

Preview Lab → · Contrast checker → · Palette generator →

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