#3837C5#3837C5

#3837C5 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.212 H 273.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3837C5
RGBrgb(56, 55, 197)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 72%, 77%)
CMYKcmyk(71.6%, 72.1%, 0%, 22.7%)
CIE-LABlab(33.14, 46.27, -73.18)
CIE-LCHlch(33.14, 86.58, 302.30°)
OKLaboklab(44.32% 0.0141 -0.2116)
OKLCHoklch(44.32% 0.212 273.8)
XYZxyz(13.0718, 7.6031, 53.5911)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837C5 #C4C537
analogous
#377DC5 #3837C5 #7F37C5
triadic
#3837C5 #C53837 #37C538
tetradic
#3837C5 #C5377D #C4C537 #37C57F
square
#3837C5 #C5377D #C4C537 #37C57F
split-complementary
#3837C5 #C57F37 #7DC537
monochromatic
#1D1C65 #2A2A95 #3837C5 #6665D4 #9695E1

Accessibility & contrast

On white

8.33
#3837C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3837C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837C5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837C5#FFFFFF#000000##FFFFFF
##3837C51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0047C2
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3837c5;
/* rgb */ color: rgb(56, 55, 197);
/* oklch */ color: oklch(44.3% 0.212 273.8);
Tailwind
colors: {
  custom: {
    50: '#836fd8',
    500: '#3837c5',
    950: '#000000',
  },
}
SCSS
$custom: #3837c5;
$custom-light: #836fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3837c5",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 240.423,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44322,
    "c": 0.21212,
    "h": 273.8
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#3837C5
secondary
#CCCD8B
accent
#E048DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3837C5

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

Preview Lab → · Contrast checker → · Palette generator →

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