#3F70D5#3F70D5

#3F70D5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.5% C 0.164 H 262.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3F70D5
RGBrgb(63, 112, 213)
HSLhsl(220, 64%, 54%)
HSVhsv(220, 70%, 84%)
CMYKcmyk(70.4%, 47.4%, 0%, 16.5%)
CIE-LABlab(48.82, 17.26, -56.87)
CIE-LCHlch(48.82, 59.43, 286.88°)
OKLaboklab(56.46% -0.0206 -0.1631)
OKLCHoklch(56.46% 0.164 262.8)
XYZxyz(19.8500, 17.4471, 65.2594)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F70D5 #D5A43F
analogous
#3FBBD5 #3F70D5 #593FD5
triadic
#3F70D5 #D53F70 #70D53F
tetradic
#3F70D5 #D53FBB #D5A43F #3FD559
square
#3F70D5 #D53FBB #D5A43F #3FD559
split-complementary
#3F70D5 #D5593F #BBD53F
monochromatic
#1C3C7E #2754B0 #3F70D5 #7195E0 #A3BBEB

Accessibility & contrast

On white

4.68
#3F70D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3F70D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F70D5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F70D5#FFFFFF#000000##FFFFFF
##3F70D51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD9
Deuteranopia (green-blind)
#126ED3
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f70d5;
/* rgb */ color: rgb(63, 112, 213);
/* oklch */ color: oklch(56.5% 0.164 262.8);
Tailwind
colors: {
  custom: {
    50: '#8698e2',
    500: '#3f70d5',
    950: '#000000',
  },
}
SCSS
$custom: #3f70d5;
$custom-light: #8698e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f70d5",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 213
  },
  "hsl": {
    "h": 220.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.16438,
    "h": 262.8
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#3F70D5
secondary
#D8C398
accent
#B141E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F70D5

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

Preview Lab → · Contrast checker → · Palette generator →

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