#3837C2#3837C2

#3837C2 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.208 H 274.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3837C2
RGBrgb(56, 55, 194)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 72%, 76%)
CMYKcmyk(71.1%, 71.6%, 0%, 23.9%)
CIE-LABlab(32.85, 45.28, -71.91)
CIE-LCHlch(32.85, 84.98, 302.20°)
OKLaboklab(44.02% 0.0146 -0.2079)
OKLCHoklch(44.02% 0.208 274)
XYZxyz(12.7314, 7.4669, 51.7988)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837C2 #C1C237
analogous
#377CC2 #3837C2 #7E37C2
triadic
#3837C2 #C23837 #37C238
tetradic
#3837C2 #C2377C #C1C237 #37C27E
square
#3837C2 #C2377C #C1C237 #37C27E
split-complementary
#3837C2 #C27E37 #7CC237
monochromatic
#1C1C63 #2A2992 #3837C2 #6463D3 #9493E0

Accessibility & contrast

On white

8.42
#3837C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3837C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837C2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837C2#FFFFFF#000000##FFFFFF
##3837C21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3837c2;
/* rgb */ color: rgb(56, 55, 194);
/* oklch */ color: oklch(44.0% 0.208 274.0);
Tailwind
colors: {
  custom: {
    50: '#836fd6',
    500: '#3837c2',
    950: '#000000',
  },
}
SCSS
$custom: #3837c2;
$custom-light: #836fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3837c2",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 240.432,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.20846,
    "h": 274
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3837C2

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

Preview Lab → · Contrast checker → · Palette generator →

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