#3837C1#3837C1

#3837C1 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.207 H 274.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3837C1
RGBrgb(56, 55, 193)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 72%, 76%)
CMYKcmyk(71%, 71.5%, 0%, 24.3%)
CIE-LABlab(32.75, 44.95, -71.48)
CIE-LCHlch(32.75, 84.44, 302.16°)
OKLaboklab(43.92% 0.0148 -0.2067)
OKLCHoklch(43.92% 0.207 274.1)
XYZxyz(12.6195, 7.4222, 51.2093)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837C1 #C0C137
analogous
#377BC1 #3837C1 #7D37C1
triadic
#3837C1 #C13837 #37C138
tetradic
#3837C1 #C1377B #C0C137 #37C17D
square
#3837C1 #C1377B #C0C137 #37C17D
split-complementary
#3837C1 #C17D37 #7BC137
monochromatic
#1C1C62 #2A2991 #3837C1 #6463D2 #9392E0

Accessibility & contrast

On white

8.45
#3837C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3837C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837C1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837C1#FFFFFF#000000##FFFFFF
##3837C11.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3837c1;
/* rgb */ color: rgb(56, 55, 193);
/* oklch */ color: oklch(43.9% 0.207 274.1);
Tailwind
colors: {
  custom: {
    50: '#826fd5',
    500: '#3837c1',
    950: '#000000',
  },
}
SCSS
$custom: #3837c1;
$custom-light: #826fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3837c1",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 240.435,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.20723,
    "h": 274.1
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#3837C1
secondary
#CBCB89
accent
#DF49DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3837C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3837C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva