#3F70D8#3F70D8

#3F70D8 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.168 H 263.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3F70D8
RGBrgb(63, 112, 216)
HSLhsl(221, 66%, 55%)
HSVhsv(221, 71%, 85%)
CMYKcmyk(70.8%, 48.1%, 0%, 15.3%)
CIE-LABlab(49.01, 18.34, -58.27)
CIE-LCHlch(49.01, 61.09, 287.47°)
OKLaboklab(56.67% -0.0202 -0.1672)
OKLCHoklch(56.67% 0.168 263.1)
XYZxyz(20.2343, 17.6008, 67.2833)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F70D8 #D8A73F
analogous
#3FBDD8 #3F70D8 #5A3FD8
triadic
#3F70D8 #D83F70 #70D83F
tetradic
#3F70D8 #D83FBD #D8A73F #3FD85A
square
#3F70D8 #D83FBD #D8A73F #3FD85A
split-complementary
#3F70D8 #D85A3F #BDD83F
monochromatic
#1A3C82 #2553B5 #3F70D8 #7296E2 #A5BCED

Accessibility & contrast

On white

4.65
#3F70D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F70D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F70D8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F70D8#FFFFFF#000000##FFFFFF
##3F70D81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#046ED6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f70d8;
/* rgb */ color: rgb(63, 112, 216);
/* oklch */ color: oklch(56.7% 0.168 263.1);
Tailwind
colors: {
  custom: {
    50: '#8698e5',
    500: '#3f70d8',
    950: '#000000',
  },
}
SCSS
$custom: #3f70d8;
$custom-light: #8698e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f70d8",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 220.784,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.16841,
    "h": 263.1
  },
  "luminance": 0.17603
}

Semantic roles & 50–950 ramp

primary
#3F70D8
secondary
#DAC599
accent
#B33FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F70D8

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

Preview Lab → · Contrast checker → · Palette generator →

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