#3D70D5#3D70D5

#3D70D5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.4% C 0.165 H 262.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3D70D5
RGBrgb(61, 112, 213)
HSLhsl(220, 64%, 54%)
HSVhsv(220, 71%, 84%)
CMYKcmyk(71.4%, 47.4%, 0%, 16.5%)
CIE-LABlab(48.74, 16.98, -57.00)
CIE-LCHlch(48.74, 59.48, 286.59°)
OKLaboklab(56.38% -0.0221 -0.1635)
OKLCHoklch(56.38% 0.165 262.3)
XYZxyz(19.7246, 17.3824, 65.2535)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D70D5 #D5A23D
analogous
#3DBCD5 #3D70D5 #563DD5
triadic
#3D70D5 #D53D70 #70D53D
tetradic
#3D70D5 #D53DBC #D5A23D #3DD556
square
#3D70D5 #D53DBC #D5A23D #3DD556
split-complementary
#3D70D5 #D5563D #BCD53D
monochromatic
#1B3C7D #2654AF #3D70D5 #6F95E0 #A2BAEB

Accessibility & contrast

On white

4.69
#3D70D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3D70D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D70D5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D70D5#FFFFFF#000000##FFFFFF
##3D70D51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#0F6DD3
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d70d5;
/* rgb */ color: rgb(61, 112, 213);
/* oklch */ color: oklch(56.4% 0.165 262.3);
Tailwind
colors: {
  custom: {
    50: '#8598e2',
    500: '#3d70d5',
    950: '#000000',
  },
}
SCSS
$custom: #3d70d5;
$custom-light: #8598e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d70d5",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 213
  },
  "hsl": {
    "h": 219.868,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.165,
    "h": 262.3
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#3D70D5
secondary
#D7C296
accent
#AF40E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D70D5

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

Preview Lab → · Contrast checker → · Palette generator →

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