#3957AA#3957AA

#3957AA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.138 H 266.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3957AA
RGBrgb(57, 87, 170)
HSLhsl(224, 50%, 45%)
HSVhsv(224, 66%, 67%)
CMYKcmyk(66.5%, 48.8%, 0%, 33.3%)
CIE-LABlab(38.88, 16.70, -47.92)
CIE-LCHlch(38.88, 50.75, 289.21°)
OKLaboklab(47.9% -0.0088 -0.1373)
OKLCHoklch(47.9% 0.138 266.3)
XYZxyz(12.3487, 10.5874, 39.4152)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957AA #AA8C39
analogous
#3990AA #3957AA #5439AA
triadic
#3957AA #AA3957 #57AA39
tetradic
#3957AA #AA3990 #AA8C39 #39AA54
square
#3957AA #AA3990 #AA8C39 #39AA54
split-complementary
#3957AA #AA5439 #90AA39
monochromatic
#1A284E #2A407C #3957AA #5976C7 #879CD7

Accessibility & contrast

On white

6.74
#3957AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3957AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957AA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957AA#FFFFFF#000000##FFFFFF
##3957AA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#1157A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3957aa;
/* rgb */ color: rgb(57, 87, 170);
/* oklch */ color: oklch(47.9% 0.138 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c85c4',
    500: '#3957aa',
    950: '#000000',
  },
}
SCSS
$custom: #3957aa;
$custom-light: #7c85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3957aa",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 224.071,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47901,
    "c": 0.13755,
    "h": 266.3
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#3957AA
secondary
#C1AF7E
accent
#B44ED9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3957AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3957AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva