#3F70D9#3F70D9

#3F70D9 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.170 H 263.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3F70D9
RGBrgb(63, 112, 217)
HSLhsl(221, 67%, 55%)
HSVhsv(221, 71%, 85%)
CMYKcmyk(71%, 48.4%, 0%, 14.9%)
CIE-LABlab(49.07, 18.71, -58.73)
CIE-LCHlch(49.07, 61.64, 287.67°)
OKLaboklab(56.74% -0.02 -0.1686)
OKLCHoklch(56.74% 0.17 263.2)
XYZxyz(20.3640, 17.6527, 67.9663)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F70D9 #D9A83F
analogous
#3FBDD9 #3F70D9 #5B3FD9
triadic
#3F70D9 #D93F70 #70D93F
tetradic
#3F70D9 #D93FBD #D9A83F #3FD95B
square
#3F70D9 #D93FBD #D9A83F #3FD95B
split-complementary
#3F70D9 #D95B3F #BDD93F
monochromatic
#1A3C84 #2453B7 #3F70D9 #7296E3 #A5BCED

Accessibility & contrast

On white

4.63
#3F70D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3F70D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F70D9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F70D9#FFFFFF#000000##FFFFFF
##3F70D91.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357CDD
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f70d9;
/* rgb */ color: rgb(63, 112, 217);
/* oklch */ color: oklch(56.7% 0.170 263.2);
Tailwind
colors: {
  custom: {
    50: '#8698e5',
    500: '#3f70d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f70d9;
$custom-light: #8698e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f70d9",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 217
  },
  "hsl": {
    "h": 220.909,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.16976,
    "h": 263.2
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#3F70D9
secondary
#DAC69A
accent
#B33EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F70D9

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

Preview Lab → · Contrast checker → · Palette generator →

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