#3837AB#3837AB

#3837AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.179 H 275.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3837AB
RGBrgb(56, 55, 171)
HSLhsl(241, 51%, 44%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(67.3%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.67, 37.56, -61.85)
CIE-LCHlch(30.67, 72.36, 301.27°)
OKLaboklab(41.8% 0.0179 -0.1785)
OKLCHoklch(41.8% 0.179 275.7)
XYZxyz(10.3453, 6.5125, 39.2320)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837AB #AAAB37
analogous
#3770AB #3837AB #7237AB
triadic
#3837AB #AB3837 #37AB38
tetradic
#3837AB #AB3770 #AAAB37 #37AB72
square
#3837AB #AB3770 #AAAB37 #37AB72
split-complementary
#3837AB #AB7237 #70AB37
monochromatic
#1A194E #29287D #3837AB #5756C9 #8585D8

Accessibility & contrast

On white

9.12
#3837AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3837AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837AB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837AB#FFFFFF#000000##FFFFFF
##3837AB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3837ab;
/* rgb */ color: rgb(56, 55, 171);
/* oklch */ color: oklch(41.8% 0.179 275.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ec5',
    500: '#3837ab',
    950: '#000000',
  },
}
SCSS
$custom: #3837ab;
$custom-light: #7e6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3837ab",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 240.517,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.17944,
    "h": 275.7
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#3837AB
secondary
#C1C17C
accent
#DB4DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3837AB

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

Preview Lab → · Contrast checker → · Palette generator →

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