#3974D9#3974D9

#3974D9 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.3% C 0.167 H 260.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3974D9
RGBrgb(57, 116, 217)
HSLhsl(218, 68%, 54%)
HSVhsv(218, 74%, 85%)
CMYKcmyk(73.7%, 46.5%, 0%, 14.9%)
CIE-LABlab(49.94, 15.40, -57.35)
CIE-LCHlch(49.94, 59.38, 285.03°)
OKLaboklab(57.34% -0.0278 -0.1645)
OKLCHoklch(57.34% 0.167 260.4)
XYZxyz(20.4526, 18.3681, 68.0997)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974D9 #D99E39
analogous
#39C4D9 #3974D9 #4E39D9
triadic
#3974D9 #D93974 #74D939
tetradic
#3974D9 #D939C4 #D99E39 #39D94E
square
#3974D9 #D939C4 #D99E39 #39D94E
split-complementary
#3974D9 #D94E39 #C4D939
monochromatic
#183E7F #2257B3 #3974D9 #6C98E3 #A0BCED

Accessibility & contrast

On white

4.49
#3974D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#3974D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3974D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974D9#FFFFFF#000000##000000
##3974D91.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDD
Deuteranopia (green-blind)
#1470D7
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3974d9;
/* rgb */ color: rgb(57, 116, 217);
/* oklch */ color: oklch(57.3% 0.167 260.4);
Tailwind
colors: {
  custom: {
    50: '#849be5',
    500: '#3974d9',
    950: '#000000',
  },
}
SCSS
$custom: #3974d9;
$custom-light: #849be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3974d9",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 217
  },
  "hsl": {
    "h": 217.875,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.16686,
    "h": 260.4
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#3974D9
secondary
#D9C095
accent
#AB3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3974D9

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

Preview Lab → · Contrast checker → · Palette generator →

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