#3974D7#3974D7

#3974D7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.164 H 260.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3974D7
RGBrgb(57, 116, 215)
HSLhsl(218, 66%, 53%)
HSVhsv(218, 73%, 84%)
CMYKcmyk(73.5%, 46%, 0%, 15.7%)
CIE-LABlab(49.82, 14.67, -56.41)
CIE-LCHlch(49.82, 58.29, 284.57°)
OKLaboklab(57.2% -0.0281 -0.1618)
OKLCHoklch(57.2% 0.164 260.1)
XYZxyz(20.1940, 18.2647, 66.7380)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974D7 #D79C39
analogous
#39C3D7 #3974D7 #4D39D7
triadic
#3974D7 #D73974 #74D739
tetradic
#3974D7 #D739C3 #D79C39 #39D74D
square
#3974D7 #D739C3 #D79C39 #39D74D
split-complementary
#3974D7 #D74D39 #C3D739
monochromatic
#193E7C #2358AF #3974D7 #6C98E1 #9FBBEC

Accessibility & contrast

On white

4.51
#3974D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#3974D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3974D7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974D7#FFFFFF#000000##000000
##3974D71.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#1A70D5
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3974d7;
/* rgb */ color: rgb(57, 116, 215);
/* oklch */ color: oklch(57.2% 0.164 260.1);
Tailwind
colors: {
  custom: {
    50: '#849be4',
    500: '#3974d7',
    950: '#000000',
  },
}
SCSS
$custom: #3974d7;
$custom-light: #849be4;
$custom-dark: #000000;
JSON
{
  "hex": "#3974d7",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 215
  },
  "hsl": {
    "h": 217.595,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.1642,
    "h": 260.1
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#3974D7
secondary
#D8BE94
accent
#AA3EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3974D7

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

Preview Lab → · Contrast checker → · Palette generator →

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