#3974CE#3974CE

#3974CE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.152 H 258.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3974CE
RGBrgb(57, 116, 206)
HSLhsl(216, 60%, 52%)
HSVhsv(216, 72%, 81%)
CMYKcmyk(72.3%, 43.7%, 0%, 19.2%)
CIE-LABlab(49.27, 11.37, -52.17)
CIE-LCHlch(49.27, 53.40, 282.29°)
OKLaboklab(56.61% -0.0297 -0.1493)
OKLCHoklch(56.61% 0.152 258.7)
XYZxyz(19.0693, 17.8148, 60.8142)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974CE #CE9339
analogous
#39BECE #3974CE #4939CE
triadic
#3974CE #CE3974 #74CE39
tetradic
#3974CE #CE39BE #CE9339 #39CE49
square
#3974CE #CE39BE #CE9339 #39CE49
split-complementary
#3974CE #CE4939 #BECE39
monochromatic
#1C3D71 #2858A2 #3974CE #6A96DA #9BB9E6

Accessibility & contrast

On white

4.60
#3974CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3974CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3974CE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974CE#FFFFFF#000000##FFFFFF
##3974CE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3974ce;
/* rgb */ color: rgb(57, 116, 206);
/* oklch */ color: oklch(56.6% 0.152 258.7);
Tailwind
colors: {
  custom: {
    50: '#829bdd',
    500: '#3974ce',
    950: '#000000',
  },
}
SCSS
$custom: #3974ce;
$custom-light: #829bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3974ce",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 216.242,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.15222,
    "h": 258.7
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#3974CE
secondary
#D2B891
accent
#A444E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3974CE

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

Preview Lab → · Contrast checker → · Palette generator →

#3974CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva