#3837BD#3837BD

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

Color values

HEX#3837BD
RGBrgb(56, 55, 189)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 74%)
CMYKcmyk(70.4%, 70.9%, 0%, 25.9%)
CIE-LABlab(32.36, 43.62, -69.77)
CIE-LCHlch(32.36, 82.29, 302.02°)
OKLaboklab(43.53% 0.0154 -0.2017)
OKLCHoklch(43.53% 0.202 274.4)
XYZxyz(12.1793, 7.2461, 48.8910)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837BD #BCBD37
analogous
#3779BD #3837BD #7B37BD
triadic
#3837BD #BD3837 #37BD38
tetradic
#3837BD #BD3779 #BCBD37 #37BD7B
square
#3837BD #BD3779 #BCBD37 #37BD7B
split-complementary
#3837BD #BD7B37 #79BD37
monochromatic
#1C1B5E #2A298E #3837BD #6160D1 #9090DF

Accessibility & contrast

On white

8.57
#3837BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3837BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837BD
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837BD#FFFFFF#000000##FFFFFF
##3837BD1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0046BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3837bd;
/* rgb */ color: rgb(56, 55, 189);
/* oklch */ color: oklch(43.5% 0.202 274.4);
Tailwind
colors: {
  custom: {
    50: '#826fd2',
    500: '#3837bd',
    950: '#000000',
  },
}
SCSS
$custom: #3837bd;
$custom-light: #826fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3837bd",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 240.448,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43528,
    "c": 0.20229,
    "h": 274.4
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3837BD

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

Preview Lab → · Contrast checker → · Palette generator →

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