#3F70C7#3F70C7

#3F70C7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.145 H 260.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3F70C7
RGBrgb(63, 112, 199)
HSLhsl(218, 55%, 51%)
HSVhsv(218, 68%, 78%)
CMYKcmyk(68.3%, 43.7%, 0%, 22%)
CIE-LABlab(47.96, 12.21, -50.24)
CIE-LCHlch(47.96, 51.71, 283.66°)
OKLaboklab(55.53% -0.0229 -0.1436)
OKLCHoklch(55.53% 0.145 260.9)
XYZxyz(18.1492, 16.7668, 56.3016)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F70C7 #C7963F
analogous
#3FB4C7 #3F70C7 #523FC7
triadic
#3F70C7 #C73F70 #70C73F
tetradic
#3F70C7 #C73FB4 #C7963F #3FC752
square
#3F70C7 #C73FB4 #C7963F #3FC752
split-complementary
#3F70C7 #C7523F #B4C73F
monochromatic
#203B6C #2D559B #3F70C7 #6E93D5 #9EB7E3

Accessibility & contrast

On white

4.82
#3F70C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3F70C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F70C7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F70C7#FFFFFF#000000##FFFFFF
##3F70C71.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CA
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f70c7;
/* rgb */ color: rgb(63, 112, 199);
/* oklch */ color: oklch(55.5% 0.145 260.9);
Tailwind
colors: {
  custom: {
    50: '#8398d8',
    500: '#3f70c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f70c7;
$custom-light: #8398d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f70c7",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 199
  },
  "hsl": {
    "h": 218.382,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.14541,
    "h": 260.9
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#3F70C7
secondary
#CFB993
accent
#A94ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3F70C7

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

Preview Lab → · Contrast checker → · Palette generator →

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