#3957A5#3957A5

#3957A5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.130 H 265.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3957A5
RGBrgb(57, 87, 165)
HSLhsl(223, 49%, 44%)
HSVhsv(223, 65%, 65%)
CMYKcmyk(65.5%, 47.3%, 0%, 35.3%)
CIE-LABlab(38.55, 14.88, -45.47)
CIE-LCHlch(38.55, 47.84, 288.12°)
OKLaboklab(47.55% -0.0095 -0.1301)
OKLCHoklch(47.55% 0.13 265.8)
XYZxyz(11.8847, 10.4018, 36.9714)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957A5 #A58739
analogous
#398DA5 #3957A5 #5139A5
triadic
#3957A5 #A53957 #57A539
tetradic
#3957A5 #A5398D #A58739 #39A551
square
#3957A5 #A5398D #A58739 #39A551
split-complementary
#3957A5 #A55139 #8DA539
monochromatic
#1A274A #293F78 #3957A5 #5675C5 #849AD4

Accessibility & contrast

On white

6.82
#3957A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3957A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3957A5#FFFFFF#000000##FFFFFF
##3957A51.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3957a5;
/* rgb */ color: rgb(57, 87, 165);
/* oklch */ color: oklch(47.6% 0.130 265.8);
Tailwind
colors: {
  custom: {
    50: '#7b85c0',
    500: '#3957a5',
    950: '#000000',
  },
}
SCSS
$custom: #3957a5;
$custom-light: #7b85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3957a5",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 165
  },
  "hsl": {
    "h": 223.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.13041,
    "h": 265.8
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#3957A5
secondary
#BEAC7B
accent
#B250D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3957A5

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

Preview Lab → · Contrast checker → · Palette generator →

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