#3974D3#3974D3

#3974D3 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.159 H 259.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3974D3
RGBrgb(57, 116, 211)
HSLhsl(217, 64%, 53%)
HSVhsv(217, 73%, 83%)
CMYKcmyk(73%, 45%, 0%, 17.3%)
CIE-LABlab(49.57, 13.20, -54.54)
CIE-LCHlch(49.57, 56.11, 283.61°)
OKLaboklab(56.94% -0.0288 -0.1562)
OKLCHoklch(56.94% 0.159 259.5)
XYZxyz(19.6863, 18.0616, 64.0641)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974D3 #D39839
analogous
#39C1D3 #3974D3 #4B39D3
triadic
#3974D3 #D33974 #74D339
tetradic
#3974D3 #D339C1 #D39839 #39D34B
square
#3974D3 #D339C1 #D39839 #39D34B
split-complementary
#3974D3 #D34B39 #C1D339
monochromatic
#1A3E77 #2658A9 #3974D3 #6B97DE #9DBAE9

Accessibility & contrast

On white

4.55
#3974D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3974D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3974D3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974D3#FFFFFF#000000##000000
##3974D31.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD7
Deuteranopia (green-blind)
#236FD1
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3974d3;
/* rgb */ color: rgb(57, 116, 211);
/* oklch */ color: oklch(56.9% 0.159 259.5);
Tailwind
colors: {
  custom: {
    50: '#839be1',
    500: '#3974d3',
    950: '#000000',
  },
}
SCSS
$custom: #3974d3;
$custom-light: #839be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3974d3",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 211
  },
  "hsl": {
    "h": 217.013,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.15889,
    "h": 259.5
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#3974D3
secondary
#D5BC92
accent
#A741E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3974D3

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

Preview Lab → · Contrast checker → · Palette generator →

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