#3837BB#3837BB

#3837BB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.200 H 274.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3837BB
RGBrgb(56, 55, 187)
HSLhsl(240, 55%, 47%)
HSVhsv(240, 71%, 73%)
CMYKcmyk(70.1%, 70.6%, 0%, 26.7%)
CIE-LABlab(32.17, 42.96, -68.91)
CIE-LCHlch(32.17, 81.20, 301.94°)
OKLaboklab(43.33% 0.0157 -0.1992)
OKLCHoklch(43.33% 0.2 274.5)
XYZxyz(11.9637, 7.1598, 47.7556)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837BB #BABB37
analogous
#3778BB #3837BB #7A37BB
triadic
#3837BB #BB3837 #37BB38
tetradic
#3837BB #BB3778 #BABB37 #37BB7A
square
#3837BB #BB3778 #BABB37 #37BB7A
split-complementary
#3837BB #BB7A37 #78BB37
monochromatic
#1C1B5C #2A298C #3837BB #605FD0 #8F8EDE

Accessibility & contrast

On white

8.63
#3837BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3837BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837BB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837BB#FFFFFF#000000##FFFFFF
##3837BB1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3837bb;
/* rgb */ color: rgb(56, 55, 187);
/* oklch */ color: oklch(43.3% 0.200 274.5);
Tailwind
colors: {
  custom: {
    50: '#816fd1',
    500: '#3837bb',
    950: '#000000',
  },
}
SCSS
$custom: #3837bb;
$custom-light: #816fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3837bb",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 240.455,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.19981,
    "h": 274.5
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3837BB

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

Preview Lab → · Contrast checker → · Palette generator →

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