#3970CC#3970CC

#3970CC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.6% C 0.154 H 260.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3970CC
RGBrgb(57, 112, 204)
HSLhsl(218, 59%, 51%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(72.1%, 45.1%, 0%, 20%)
CIE-LABlab(48.03, 13.14, -53.02)
CIE-LCHlch(48.03, 54.63, 283.92°)
OKLaboklab(55.61% -0.0266 -0.1519)
OKLCHoklch(55.61% 0.154 260.1)
XYZxyz(18.3767, 16.8158, 59.3923)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3970CC #CC9539
analogous
#39B9CC #3970CC #4B39CC
triadic
#3970CC #CC3970 #70CC39
tetradic
#3970CC #CC39B9 #CC9539 #39CC4B
square
#3970CC #CC39B9 #CC9539 #39CC4B
split-complementary
#3970CC #CC4B39 #B9CC39
monochromatic
#1C3B6E #29559F #3970CC #6A93D9 #9AB6E5

Accessibility & contrast

On white

4.81
#3970CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3970CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3970CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3970CC#FFFFFF#000000##FFFFFF
##3970CC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3970cc;
/* rgb */ color: rgb(57, 112, 204);
/* oklch */ color: oklch(55.6% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#8198dc',
    500: '#3970cc',
    950: '#000000',
  },
}
SCSS
$custom: #3970cc;
$custom-light: #8198dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3970cc",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 217.551,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.15417,
    "h": 260.1
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#3970CC
secondary
#D1B990
accent
#A846E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3970CC

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

Preview Lab → · Contrast checker → · Palette generator →

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