#3837C4#3837C4

#3837C4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.211 H 273.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3837C4
RGBrgb(56, 55, 196)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 72%, 77%)
CMYKcmyk(71.4%, 71.9%, 0%, 23.1%)
CIE-LABlab(33.04, 45.94, -72.76)
CIE-LCHlch(33.04, 86.05, 302.27°)
OKLaboklab(44.22% 0.0143 -0.2104)
OKLCHoklch(44.22% 0.211 273.9)
XYZxyz(12.9576, 7.5574, 52.9897)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837C4 #C3C437
analogous
#377CC4 #3837C4 #7F37C4
triadic
#3837C4 #C43837 #37C438
tetradic
#3837C4 #C4377C #C3C437 #37C47F
square
#3837C4 #C4377C #C3C437 #37C47F
split-complementary
#3837C4 #C47F37 #7CC437
monochromatic
#1D1C64 #2A2A94 #3837C4 #6565D4 #9594E1

Accessibility & contrast

On white

8.36
#3837C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3837C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837C4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837C4#FFFFFF#000000##FFFFFF
##3837C41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3837c4;
/* rgb */ color: rgb(56, 55, 196);
/* oklch */ color: oklch(44.2% 0.211 273.9);
Tailwind
colors: {
  custom: {
    50: '#836fd7',
    500: '#3837c4',
    950: '#000000',
  },
}
SCSS
$custom: #3837c4;
$custom-light: #836fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3837c4",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 240.426,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.2109,
    "h": 273.9
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#3837C4
secondary
#CCCC8B
accent
#DF48DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3837C4

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

Preview Lab → · Contrast checker → · Palette generator →

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