#3970CA#3970CA

#3970CA is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.151 H 259.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3970CA
RGBrgb(57, 112, 202)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 72%, 79%)
CMYKcmyk(71.8%, 44.6%, 0%, 20.8%)
CIE-LABlab(47.91, 12.41, -52.07)
CIE-LCHlch(47.91, 53.53, 283.40°)
OKLaboklab(55.47% -0.0269 -0.1491)
OKLCHoklch(55.47% 0.151 259.8)
XYZxyz(18.1383, 16.7205, 58.1371)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3970CA #CA9339
analogous
#39B9CA #3970CA #4A39CA
triadic
#3970CA #CA3970 #70CA39
tetradic
#3970CA #CA39B9 #CA9339 #39CA4A
square
#3970CA #CA39B9 #CA9339 #39CA4A
split-complementary
#3970CA #CA4A39 #B9CA39
monochromatic
#1D3B6C #2A559C #3970CA #6993D7 #9AB6E4

Accessibility & contrast

On white

4.83
#3970CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3970CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3970CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3970CA#FFFFFF#000000##FFFFFF
##3970CA1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CD
Deuteranopia (green-blind)
#276BC8
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3970ca;
/* rgb */ color: rgb(57, 112, 202);
/* oklch */ color: oklch(55.5% 0.151 259.8);
Tailwind
colors: {
  custom: {
    50: '#8198db',
    500: '#3970ca',
    950: '#000000',
  },
}
SCSS
$custom: #3970ca;
$custom-light: #8198db;
$custom-dark: #000000;
JSON
{
  "hex": "#3970ca",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 217.241,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.15148,
    "h": 259.8
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#3970CA
secondary
#D0B78F
accent
#A747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3970CA

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

Preview Lab → · Contrast checker → · Palette generator →

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