#3937B4#3937B4

#3937B4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.191 H 275.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3937B4
RGBrgb(57, 55, 180)
HSLhsl(241, 53%, 46%)
HSVhsv(241, 69%, 71%)
CMYKcmyk(68.3%, 69.4%, 0%, 29.4%)
CIE-LABlab(31.57, 40.73, -65.74)
CIE-LCHlch(31.57, 77.34, 301.78°)
OKLaboklab(42.72% 0.0179 -0.1899)
OKLCHoklch(42.72% 0.191 275.4)
XYZxyz(11.2890, 6.8965, 43.9074)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937B4 #B2B437
analogous
#3773B4 #3937B4 #7737B4
triadic
#3937B4 #B43937 #37B439
tetradic
#3937B4 #B43773 #B2B437 #37B477
square
#3937B4 #B43773 #B2B437 #37B477
split-complementary
#3937B4 #B47737 #73B437
monochromatic
#1B1A56 #2A2985 #3937B4 #5D5BCD #8B8ADB

Accessibility & contrast

On white

8.83
#3937B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3937B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937B4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937B4#FFFFFF#000000##FFFFFF
##3937B41.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3937b4;
/* rgb */ color: rgb(57, 55, 180);
/* oklch */ color: oklch(42.7% 0.191 275.4);
Tailwind
colors: {
  custom: {
    50: '#806fcc',
    500: '#3937b4',
    950: '#000000',
  },
}
SCSS
$custom: #3937b4;
$custom-light: #806fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3937b4",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 240.96,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.19075,
    "h": 275.4
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#3937B4
secondary
#C4C681
accent
#DD4BDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3937B4

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

Preview Lab → · Contrast checker → · Palette generator →

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