#3837C0#3837C0

#3837C0 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.206 H 274.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3837C0
RGBrgb(56, 55, 192)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.8%, 71.4%, 0%, 24.7%)
CIE-LABlab(32.65, 44.62, -71.06)
CIE-LCHlch(32.65, 83.90, 302.13°)
OKLaboklab(43.82% 0.0149 -0.2055)
OKLCHoklch(43.82% 0.206 274.2)
XYZxyz(12.5083, 7.3777, 50.6238)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837C0 #BFC037
analogous
#377AC0 #3837C0 #7C37C0
triadic
#3837C0 #C03837 #37C038
tetradic
#3837C0 #C0377A #BFC037 #37C07C
square
#3837C0 #C0377A #BFC037 #37C07C
split-complementary
#3837C0 #C07C37 #7AC037
monochromatic
#1C1C61 #2A2990 #3837C0 #6362D2 #9292E0

Accessibility & contrast

On white

8.48
#3837C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3837C0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837C0#FFFFFF#000000##FFFFFF
##3837C01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#0046BD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3837c0;
/* rgb */ color: rgb(56, 55, 192);
/* oklch */ color: oklch(43.8% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#826fd4',
    500: '#3837c0',
    950: '#000000',
  },
}
SCSS
$custom: #3837c0;
$custom-light: #826fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3837c0",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 240.438,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.206,
    "h": 274.2
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3837C0

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

Preview Lab → · Contrast checker → · Palette generator →

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