#3D70D8#3D70D8

#3D70D8 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.6% C 0.169 H 262.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3D70D8
RGBrgb(61, 112, 216)
HSLhsl(220, 67%, 54%)
HSVhsv(220, 72%, 85%)
CMYKcmyk(71.8%, 48.1%, 0%, 15.3%)
CIE-LABlab(48.93, 18.07, -58.40)
CIE-LCHlch(48.93, 61.13, 287.19°)
OKLaboklab(56.58% -0.0217 -0.1676)
OKLCHoklch(56.58% 0.169 262.6)
XYZxyz(20.1089, 17.5362, 67.2775)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D70D8 #D8A53D
analogous
#3DBED8 #3D70D8 #583DD8
triadic
#3D70D8 #D83D70 #70D83D
tetradic
#3D70D8 #D83DBE #D8A53D #3DD858
square
#3D70D8 #D83DBE #D8A53D #3DD858
split-complementary
#3D70D8 #D8583D #BED83D
monochromatic
#1A3C81 #2453B4 #3D70D8 #7096E2 #A3BBEC

Accessibility & contrast

On white

4.66
#3D70D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3D70D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D70D8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D70D8#FFFFFF#000000##FFFFFF
##3D70D81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#006ED6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d70d8;
/* rgb */ color: rgb(61, 112, 216);
/* oklch */ color: oklch(56.6% 0.169 262.6);
Tailwind
colors: {
  custom: {
    50: '#8598e5',
    500: '#3d70d8',
    950: '#000000',
  },
}
SCSS
$custom: #3d70d8;
$custom-light: #8598e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d70d8",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 220.258,
    "s": 66.524,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.16902,
    "h": 262.6
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#3D70D8
secondary
#D9C498
accent
#B13EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3D70D8

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

Preview Lab → · Contrast checker → · Palette generator →

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