#3937AF#3937AF

#3937AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.184 H 275.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3937AF
RGBrgb(57, 55, 175)
HSLhsl(241, 52%, 45%)
HSVhsv(241, 69%, 69%)
CMYKcmyk(67.4%, 68.6%, 0%, 31.4%)
CIE-LABlab(31.11, 39.05, -63.53)
CIE-LCHlch(31.11, 74.57, 301.58°)
OKLaboklab(42.24% 0.0186 -0.1834)
OKLCHoklch(42.24% 0.184 275.8)
XYZxyz(10.7889, 6.6964, 41.2731)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937AF #ADAF37
analogous
#3771AF #3937AF #7537AF
triadic
#3937AF #AF3937 #37AF39
tetradic
#3937AF #AF3771 #ADAF37 #37AF75
square
#3937AF #AF3771 #ADAF37 #37AF75
split-complementary
#3937AF #AF7537 #71AF37
monochromatic
#1B1A52 #2A2880 #3937AF #5A59CB #8887D9

Accessibility & contrast

On white

8.98
#3937AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3937AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937AF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937AF#FFFFFF#000000##FFFFFF
##3937AF1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3937af;
/* rgb */ color: rgb(57, 55, 175);
/* oklch */ color: oklch(42.2% 0.184 275.8);
Tailwind
colors: {
  custom: {
    50: '#7f6fc8',
    500: '#3937af',
    950: '#000000',
  },
}
SCSS
$custom: #3937af;
$custom-light: #7f6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3937af",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 241,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42242,
    "c": 0.18437,
    "h": 275.8
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#3937AF
secondary
#C2C37F
accent
#DC4CD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3937AF

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

Preview Lab → · Contrast checker → · Palette generator →

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