#3F70D3#3F70D3

#3F70D3 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.3% C 0.162 H 262.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3F70D3
RGBrgb(63, 112, 211)
HSLhsl(220, 63%, 54%)
HSVhsv(220, 70%, 83%)
CMYKcmyk(70.1%, 46.9%, 0%, 17.3%)
CIE-LABlab(48.69, 16.54, -55.93)
CIE-LCHlch(48.69, 58.33, 286.47°)
OKLaboklab(56.32% -0.0209 -0.1603)
OKLCHoklch(56.32% 0.162 262.6)
XYZxyz(19.5978, 17.3462, 63.9307)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F70D3 #D3A23F
analogous
#3FBAD3 #3F70D3 #583FD3
triadic
#3F70D3 #D33F70 #70D33F
tetradic
#3F70D3 #D33FBA #D3A23F #3FD358
square
#3F70D3 #D33FBA #D3A23F #3FD358
split-complementary
#3F70D3 #D3583F #BAD33F
monochromatic
#1C3C7B #2854AD #3F70D3 #7195DE #A3BAEA

Accessibility & contrast

On white

4.70
#3F70D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3F70D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F70D3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F70D3#FFFFFF#000000##FFFFFF
##3F70D31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD7
Deuteranopia (green-blind)
#186DD1
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f70d3;
/* rgb */ color: rgb(63, 112, 211);
/* oklch */ color: oklch(56.3% 0.162 262.6);
Tailwind
colors: {
  custom: {
    50: '#8598e1',
    500: '#3f70d3',
    950: '#000000',
  },
}
SCSS
$custom: #3f70d3;
$custom-light: #8598e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f70d3",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 211
  },
  "hsl": {
    "h": 220.135,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.16168,
    "h": 262.6
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#3F70D3
secondary
#D7C297
accent
#B042E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F70D3

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

Preview Lab → · Contrast checker → · Palette generator →

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