#3974CA#3974CA

#3974CA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.3% C 0.147 H 258.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3974CA
RGBrgb(57, 116, 202)
HSLhsl(216, 58%, 51%)
HSVhsv(216, 72%, 79%)
CMYKcmyk(71.8%, 42.6%, 0%, 20.8%)
CIE-LABlab(49.04, 9.91, -50.26)
CIE-LCHlch(49.04, 51.23, 281.15°)
OKLaboklab(56.35% -0.0305 -0.1437)
OKLCHoklch(56.35% 0.147 258)
XYZxyz(18.5895, 17.6229, 58.2875)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974CA #CA8F39
analogous
#39BDCA #3974CA #4639CA
triadic
#3974CA #CA3974 #74CA39
tetradic
#3974CA #CA39BD #CA8F39 #39CA46
square
#3974CA #CA39BD #CA8F39 #39CA46
split-complementary
#3974CA #CA4639 #BDCA39
monochromatic
#1D3D6C #2A589C #3974CA #6996D7 #9AB8E4

Accessibility & contrast

On white

4.64
#3974CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3974CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3974CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974CA#FFFFFF#000000##FFFFFF
##3974CA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCD
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3974ca;
/* rgb */ color: rgb(57, 116, 202);
/* oklch */ color: oklch(56.3% 0.147 258.0);
Tailwind
colors: {
  custom: {
    50: '#819bda',
    500: '#3974ca',
    950: '#000000',
  },
}
SCSS
$custom: #3974ca;
$custom-light: #819bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3974ca",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 215.586,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.14689,
    "h": 258
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#3974CA
secondary
#D0B58F
accent
#A247E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3974CA

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

Preview Lab → · Contrast checker → · Palette generator →

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