#3957A2#3957A2

#3957A2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.126 H 265.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3957A2
RGBrgb(57, 87, 162)
HSLhsl(223, 48%, 43%)
HSVhsv(223, 65%, 64%)
CMYKcmyk(64.8%, 46.3%, 0%, 36.5%)
CIE-LABlab(38.36, 13.79, -43.99)
CIE-LCHlch(38.36, 46.10, 287.41°)
OKLaboklab(47.35% -0.01 -0.1257)
OKLCHoklch(47.35% 0.126 265.5)
XYZxyz(11.6149, 10.2938, 35.5502)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957A2 #A28439
analogous
#398BA2 #3957A2 #4F39A2
triadic
#3957A2 #A23957 #57A239
tetradic
#3957A2 #A2398B #A28439 #39A24F
square
#3957A2 #A2398B #A28439 #39A24F
split-complementary
#3957A2 #A24F39 #8BA239
monochromatic
#192647 #293F75 #3957A2 #5574C3 #8299D3

Accessibility & contrast

On white

6.86
#3957A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3957A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3957A2#FFFFFF#000000##FFFFFF
##3957A21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA5
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3957a2;
/* rgb */ color: rgb(57, 87, 162);
/* oklch */ color: oklch(47.3% 0.126 265.5);
Tailwind
colors: {
  custom: {
    50: '#7a86be',
    500: '#3957a2',
    950: '#000000',
  },
}
SCSS
$custom: #3957a2;
$custom-light: #7a86be;
$custom-dark: #000000;
JSON
{
  "hex": "#3957a2",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 222.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.12608,
    "h": 265.5
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#3957A2
secondary
#BDAA7A
accent
#B150D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3957A2

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

Preview Lab → · Contrast checker → · Palette generator →

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