#3937B3#3937B3

#3937B3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.189 H 275.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3937B3
RGBrgb(57, 55, 179)
HSLhsl(241, 53%, 46%)
HSVhsv(241, 69%, 70%)
CMYKcmyk(68.2%, 69.3%, 0%, 29.8%)
CIE-LABlab(31.48, 40.40, -65.30)
CIE-LCHlch(31.48, 76.79, 301.74°)
OKLaboklab(42.62% 0.0181 -0.1886)
OKLCHoklch(42.62% 0.189 275.5)
XYZxyz(11.1875, 6.8559, 43.3728)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937B3 #B1B337
analogous
#3773B3 #3937B3 #7737B3
triadic
#3937B3 #B33937 #37B339
tetradic
#3937B3 #B33773 #B1B337 #37B377
square
#3937B3 #B33773 #B1B337 #37B377
split-complementary
#3937B3 #B37737 #73B337
monochromatic
#1B1A55 #2A2984 #3937B3 #5D5BCD #8B8ADB

Accessibility & contrast

On white

8.86
#3937B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3937B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937B3
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937B3#FFFFFF#000000##FFFFFF
##3937B31.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3937b3;
/* rgb */ color: rgb(57, 55, 179);
/* oklch */ color: oklch(42.6% 0.189 275.5);
Tailwind
colors: {
  custom: {
    50: '#806fcb',
    500: '#3937b3',
    950: '#000000',
  },
}
SCSS
$custom: #3937b3;
$custom-light: #806fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3937b3",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 240.968,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.18948,
    "h": 275.5
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#3937B3
secondary
#C4C581
accent
#DC4BDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3937B3

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

Preview Lab → · Contrast checker → · Palette generator →

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