#3970CB#3970CB

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

Color values

HEX#3970CB
RGBrgb(57, 112, 203)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(71.9%, 44.8%, 0%, 20.4%)
CIE-LABlab(47.97, 12.78, -52.55)
CIE-LCHlch(47.97, 54.08, 283.66°)
OKLaboklab(55.54% -0.0267 -0.1505)
OKLCHoklch(55.54% 0.153 259.9)
XYZxyz(18.2571, 16.7680, 58.7627)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3970CB #CB9439
analogous
#39B9CB #3970CB #4B39CB
triadic
#3970CB #CB3970 #70CB39
tetradic
#3970CB #CB39B9 #CB9439 #39CB4B
square
#3970CB #CB39B9 #CB9439 #39CB4B
split-complementary
#3970CB #CB4B39 #B9CB39
monochromatic
#1D3B6D #29559D #3970CB #6993D8 #9AB6E4

Accessibility & contrast

On white

4.82
#3970CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3970CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3970CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3970CB#FFFFFF#000000##FFFFFF
##3970CB1.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)
#4279CE
Deuteranopia (green-blind)
#256CC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3970cb;
/* rgb */ color: rgb(57, 112, 203);
/* oklch */ color: oklch(55.5% 0.153 259.9);
Tailwind
colors: {
  custom: {
    50: '#8198db',
    500: '#3970cb',
    950: '#000000',
  },
}
SCSS
$custom: #3970cb;
$custom-light: #8198db;
$custom-dark: #000000;
JSON
{
  "hex": "#3970cb",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 217.397,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.15283,
    "h": 259.9
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#3970CB
secondary
#D0B890
accent
#A746E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3970CB

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

Preview Lab → · Contrast checker → · Palette generator →

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