#3B70D4#3B70D4

#3B70D4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.164 H 261.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3B70D4
RGBrgb(59, 112, 212)
HSLhsl(219, 64%, 53%)
HSVhsv(219, 72%, 83%)
CMYKcmyk(72.2%, 47.2%, 0%, 16.9%)
CIE-LABlab(48.60, 16.34, -56.66)
CIE-LCHlch(48.60, 58.97, 286.09°)
OKLaboklab(56.23% -0.0238 -0.1625)
OKLCHoklch(56.23% 0.164 261.7)
XYZxyz(19.4772, 17.2695, 64.5814)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B70D4 #D49F3B
analogous
#3BBCD4 #3B70D4 #523BD4
triadic
#3B70D4 #D43B70 #70D43B
tetradic
#3B70D4 #D43BBC #D49F3B #3BD452
square
#3B70D4 #D43BBC #D49F3B #3BD452
split-complementary
#3B70D4 #D4523B #BCD43B
monochromatic
#1B3C7A #2654AC #3B70D4 #6D95DF #9FB9EA

Accessibility & contrast

On white

4.71
#3B70D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B70D4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B70D4#FFFFFF#000000##FFFFFF
##3B70D41.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD8
Deuteranopia (green-blind)
#116DD2
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3b70d4;
/* rgb */ color: rgb(59, 112, 212);
/* oklch */ color: oklch(56.2% 0.164 261.7);
Tailwind
colors: {
  custom: {
    50: '#8498e2',
    500: '#3b70d4',
    950: '#000000',
  },
}
SCSS
$custom: #3b70d4;
$custom-light: #8498e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b70d4",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 212
  },
  "hsl": {
    "h": 219.216,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.16428,
    "h": 261.7
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#3B70D4
secondary
#D6C094
accent
#AD41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3B70D4

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

Preview Lab → · Contrast checker → · Palette generator →

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