#3937AB#3937AB

#3937AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.179 H 276.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3937AB
RGBrgb(57, 55, 171)
HSLhsl(241, 51%, 44%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(66.7%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.74, 37.70, -61.73)
CIE-LCHlch(30.74, 72.33, 301.41°)
OKLaboklab(41.87% 0.0191 -0.1782)
OKLCHoklch(41.87% 0.179 276.1)
XYZxyz(10.4018, 6.5416, 39.2347)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937AB #A9AB37
analogous
#376FAB #3937AB #7337AB
triadic
#3937AB #AB3937 #37AB39
tetradic
#3937AB #AB376F #A9AB37 #37AB73
square
#3937AB #AB376F #A9AB37 #37AB73
split-complementary
#3937AB #AB7337 #6FAB37
monochromatic
#1A194E #2A287D #3937AB #5856C9 #8685D8

Accessibility & contrast

On white

9.10
#3937AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3937AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937AB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937AB#FFFFFF#000000##FFFFFF
##3937AB1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3937ab;
/* rgb */ color: rgb(57, 55, 171);
/* oklch */ color: oklch(41.9% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#7e6ec5',
    500: '#3937ab',
    950: '#000000',
  },
}
SCSS
$custom: #3937ab;
$custom-light: #7e6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3937ab",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 241.034,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.17921,
    "h": 276.1
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#3937AB
secondary
#C0C17C
accent
#DB4DD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3937AB

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

Preview Lab → · Contrast checker → · Palette generator →

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