#3974D2#3974D2

#3974D2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.158 H 259.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3974D2
RGBrgb(57, 116, 210)
HSLhsl(217, 63%, 52%)
HSVhsv(217, 73%, 82%)
CMYKcmyk(72.9%, 44.8%, 0%, 17.6%)
CIE-LABlab(49.51, 12.83, -54.07)
CIE-LCHlch(49.51, 55.57, 283.35°)
OKLaboklab(56.87% -0.029 -0.1549)
OKLCHoklch(56.87% 0.158 259.4)
XYZxyz(19.5614, 18.0116, 63.4059)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974D2 #D29739
analogous
#39C0D2 #3974D2 #4B39D2
triadic
#3974D2 #D23974 #74D239
tetradic
#3974D2 #D239C0 #D29739 #39D24B
square
#3974D2 #D239C0 #D29739 #39D24B
split-complementary
#3974D2 #D24B39 #C0D239
monochromatic
#1B3E76 #2658A8 #3974D2 #6B97DD #9DBAE9

Accessibility & contrast

On white

4.56
#3974D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#3974D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3974D2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974D2#FFFFFF#000000##000000
##3974D21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#256FD0
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3974d2;
/* rgb */ color: rgb(57, 116, 210);
/* oklch */ color: oklch(56.9% 0.158 259.4);
Tailwind
colors: {
  custom: {
    50: '#839be0',
    500: '#3974d2',
    950: '#000000',
  },
}
SCSS
$custom: #3974d2;
$custom-light: #839be0;
$custom-dark: #000000;
JSON
{
  "hex": "#3974d2",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 216.863,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.15755,
    "h": 259.4
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#3974D2
secondary
#D5BB92
accent
#A742E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3974D2

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

Preview Lab → · Contrast checker → · Palette generator →

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