#3970CF#3970CF

#3970CF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.158 H 260.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3970CF
RGBrgb(57, 112, 207)
HSLhsl(218, 61%, 52%)
HSVhsv(218, 72%, 81%)
CMYKcmyk(72.5%, 45.9%, 0%, 18.8%)
CIE-LABlab(48.21, 14.24, -54.44)
CIE-LCHlch(48.21, 56.27, 284.66°)
OKLaboklab(55.81% -0.026 -0.156)
OKLCHoklch(55.81% 0.158 260.5)
XYZxyz(18.7399, 16.9612, 61.3056)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3970CF #CF9839
analogous
#39BBCF #3970CF #4D39CF
triadic
#3970CF #CF3970 #70CF39
tetradic
#3970CF #CF39BB #CF9839 #39CF4D
square
#3970CF #CF39BB #CF9839 #39CF4D
split-complementary
#3970CF #CF4D39 #BBCF39
monochromatic
#1C3B72 #2855A3 #3970CF #6A94DB #9CB7E7

Accessibility & contrast

On white

4.78
#3970CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3970CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3970CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3970CF#FFFFFF#000000##FFFFFF
##3970CF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#1D6CCD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3970cf;
/* rgb */ color: rgb(57, 112, 207);
/* oklch */ color: oklch(55.8% 0.158 260.5);
Tailwind
colors: {
  custom: {
    50: '#8298de',
    500: '#3970cf',
    950: '#000000',
  },
}
SCSS
$custom: #3970cf;
$custom-light: #8298de;
$custom-dark: #000000;
JSON
{
  "hex": "#3970cf",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 218,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.1582,
    "h": 260.5
  },
  "luminance": 0.16963
}

Semantic roles & 50–950 ramp

primary
#3970CF
secondary
#D3BB91
accent
#A944E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3970CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3970CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva