#3837CC#3837CC

#3837CC is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.221 H 273.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3837CC
RGBrgb(56, 55, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 73%, 80%)
CMYKcmyk(72.5%, 73%, 0%, 20%)
CIE-LABlab(33.84, 48.55, -76.12)
CIE-LCHlch(33.84, 90.28, 302.53°)
OKLaboklab(45.03% 0.0129 -0.2202)
OKLCHoklch(45.03% 0.221 273.4)
XYZxyz(13.8925, 7.9314, 57.9138)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837CC #CBCC37
analogous
#3780CC #3837CC #8237CC
triadic
#3837CC #CC3837 #37CC38
tetradic
#3837CC #CC3780 #CBCC37 #37CC82
square
#3837CC #CC3780 #CBCC37 #37CC82
split-complementary
#3837CC #CC8237 #80CC37
monochromatic
#1C1C6D #29289E #3837CC #6968D8 #9999E5

Accessibility & contrast

On white

8.12
#3837CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3837CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837CC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837CC#FFFFFF#000000##FFFFFF
##3837CC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#0048C9
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3837cc;
/* rgb */ color: rgb(56, 55, 204);
/* oklch */ color: oklch(45.0% 0.221 273.4);
Tailwind
colors: {
  custom: {
    50: '#8570dd',
    500: '#3837cc',
    950: '#000000',
  },
}
SCSS
$custom: #3837cc;
$custom-light: #8570dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3837cc",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 240.403,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.22058,
    "h": 273.4
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#3837CC
secondary
#D0D08E
accent
#E345E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3837CC

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

Preview Lab → · Contrast checker → · Palette generator →

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