#3D70C2#3D70C2

#3D70C2 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.139 H 259.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3D70C2
RGBrgb(61, 112, 194)
HSLhsl(217, 52%, 50%)
HSVhsv(217, 69%, 76%)
CMYKcmyk(68.6%, 42.3%, 0%, 23.9%)
CIE-LABlab(47.59, 10.10, -47.97)
CIE-LCHlch(47.59, 49.02, 281.89°)
OKLaboklab(55.12% -0.0254 -0.137)
OKLCHoklch(55.12% 0.139 259.5)
XYZxyz(17.4527, 16.4737, 53.2884)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D70C2 #C28F3D
analogous
#3DB3C2 #3D70C2 #4C3DC2
triadic
#3D70C2 #C23D70 #70C23D
tetradic
#3D70C2 #C23DB3 #C28F3D #3DC24C
square
#3D70C2 #C23DB3 #C28F3D #3DC24C
split-complementary
#3D70C2 #C24C3D #B3C23D
monochromatic
#203A65 #2E5593 #3D70C2 #6C92D1 #9AB5DF

Accessibility & contrast

On white

4.89
#3D70C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3D70C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D70C2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D70C2#FFFFFF#000000##FFFFFF
##3D70C21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3d70c2;
/* rgb */ color: rgb(61, 112, 194);
/* oklch */ color: oklch(55.1% 0.139 259.5);
Tailwind
colors: {
  custom: {
    50: '#8198d5',
    500: '#3d70c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d70c2;
$custom-light: #8198d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d70c2",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 216.992,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.1393,
    "h": 259.5
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#3D70C2
secondary
#CBB490
accent
#A54CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3D70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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