#3837BC#3837BC

#3837BC is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.4% C 0.201 H 274.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3837BC
RGBrgb(56, 55, 188)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 74%)
CMYKcmyk(70.2%, 70.7%, 0%, 26.3%)
CIE-LABlab(32.26, 43.29, -69.34)
CIE-LCHlch(32.26, 81.74, 301.98°)
OKLaboklab(43.43% 0.0155 -0.2004)
OKLCHoklch(43.43% 0.201 274.4)
XYZxyz(12.0712, 7.2028, 48.3213)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837BC #BBBC37
analogous
#3779BC #3837BC #7A37BC
triadic
#3837BC #BC3837 #37BC38
tetradic
#3837BC #BC3779 #BBBC37 #37BC7A
square
#3837BC #BC3779 #BBBC37 #37BC7A
split-complementary
#3837BC #BC7A37 #79BC37
monochromatic
#1C1B5D #2A298D #3837BC #6160D0 #908FDE

Accessibility & contrast

On white

8.60
#3837BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3837BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837BC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837BC#FFFFFF#000000##FFFFFF
##3837BC1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3837bc;
/* rgb */ color: rgb(56, 55, 188);
/* oklch */ color: oklch(43.4% 0.201 274.4);
Tailwind
colors: {
  custom: {
    50: '#816fd1',
    500: '#3837bc',
    950: '#000000',
  },
}
SCSS
$custom: #3837bc;
$custom-light: #816fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3837bc",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 240.451,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.20105,
    "h": 274.4
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#3837BC
secondary
#C8C986
accent
#DE4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3837BC

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

Preview Lab → · Contrast checker → · Palette generator →

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