#3974E2#3974E2

#3974E2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.179 H 261.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3974E2
RGBrgb(57, 116, 226)
HSLhsl(219, 74%, 55%)
HSVhsv(219, 75%, 89%)
CMYKcmyk(74.8%, 48.7%, 0%, 11.4%)
CIE-LABlab(50.51, 18.70, -61.51)
CIE-LCHlch(50.51, 64.29, 286.91°)
OKLaboklab(57.96% -0.0265 -0.1768)
OKLCHoklch(57.96% 0.179 261.5)
XYZxyz(21.6553, 18.8492, 74.4337)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974E2 #E2A739
analogous
#39C9E2 #3974E2 #5239E2
triadic
#3974E2 #E23974 #74E239
tetradic
#3974E2 #E239C9 #E2A739 #39E252
square
#3974E2 #E239C9 #E2A739 #39E252
split-complementary
#3974E2 #E25239 #C9E239
monochromatic
#153E8C #1C56C1 #3974E2 #6E99EA #A4BFF2

Accessibility & contrast

On white

4.40
#3974E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3974E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3974E2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974E2#FFFFFF#000000##000000
##3974E21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3974e2;
/* rgb */ color: rgb(57, 116, 226);
/* oklch */ color: oklch(58.0% 0.179 261.5);
Tailwind
colors: {
  custom: {
    50: '#869bec',
    500: '#3974e2',
    950: '#000000',
  },
}
SCSS
$custom: #3974e2;
$custom-light: #869bec;
$custom-dark: #000000;
JSON
{
  "hex": "#3974e2",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 219.053,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.17875,
    "h": 261.5
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#3974E2
secondary
#DFC698
accent
#B037F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3974E2

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

Preview Lab → · Contrast checker → · Palette generator →

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