#3937B8#3937B8

#3937B8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.196 H 275.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3937B8
RGBrgb(57, 55, 184)
HSLhsl(241, 54%, 47%)
HSVhsv(241, 70%, 72%)
CMYKcmyk(69%, 70.1%, 0%, 27.8%)
CIE-LABlab(31.95, 42.07, -67.50)
CIE-LCHlch(31.95, 79.53, 301.94°)
OKLaboklab(43.1% 0.0173 -0.195)
OKLCHoklch(43.1% 0.196 275.1)
XYZxyz(11.7024, 7.0618, 46.0845)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937B8 #B6B837
analogous
#3776B8 #3937B8 #7A37B8
triadic
#3937B8 #B83937 #37B839
tetradic
#3937B8 #B83776 #B6B837 #37B87A
square
#3937B8 #B83776 #B6B837 #37B87A
split-complementary
#3937B8 #B87A37 #76B837
monochromatic
#1C1B5A #2A2989 #3937B8 #5F5DCF #8E8DDD

Accessibility & contrast

On white

8.70
#3937B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3937B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937B8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937B8#FFFFFF#000000##FFFFFF
##3937B81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3937b8;
/* rgb */ color: rgb(57, 55, 184);
/* oklch */ color: oklch(43.1% 0.196 275.1);
Tailwind
colors: {
  custom: {
    50: '#816fce',
    500: '#3937b8',
    950: '#000000',
  },
}
SCSS
$custom: #3937b8;
$custom-light: #816fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3937b8",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 240.93,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.1958,
    "h": 275.1
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#3937B8
secondary
#C6C784
accent
#DD4ADB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3937B8

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

Preview Lab → · Contrast checker → · Palette generator →

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