#3937A9#3937A9

#3937A9 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.177 H 276.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3937A9
RGBrgb(57, 55, 169)
HSLhsl(241, 51%, 44%)
HSVhsv(241, 67%, 66%)
CMYKcmyk(66.3%, 67.5%, 0%, 33.7%)
CIE-LABlab(30.56, 37.02, -60.83)
CIE-LCHlch(30.56, 71.21, 301.32°)
OKLaboklab(41.68% 0.0193 -0.1755)
OKLCHoklch(41.68% 0.177 276.3)
XYZxyz(10.2126, 6.4659, 38.2383)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937A9 #A7A937
analogous
#376EA9 #3937A9 #7237A9
triadic
#3937A9 #A93937 #37A939
tetradic
#3937A9 #A9376E #A7A937 #37A972
square
#3937A9 #A9376E #A7A937 #37A972
split-complementary
#3937A9 #A97237 #6EA937
monochromatic
#1A194D #29287B #3937A9 #5755C8 #8584D7

Accessibility & contrast

On white

9.16
#3937A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3937A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937A9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937A9#FFFFFF#000000##FFFFFF
##3937A91.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3937a9;
/* rgb */ color: rgb(57, 55, 169);
/* oklch */ color: oklch(41.7% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ec4',
    500: '#3937a9',
    950: '#000000',
  },
}
SCSS
$custom: #3937a9;
$custom-light: #7e6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3937a9",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 241.053,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.1766,
    "h": 276.3
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#3937A9
secondary
#BFC07B
accent
#DA4DD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3937A9

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

Preview Lab → · Contrast checker → · Palette generator →

#3937A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva