#3837AC#3837AC

#3837AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.181 H 275.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3837AC
RGBrgb(56, 55, 172)
HSLhsl(241, 52%, 45%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(67.4%, 68%, 0%, 32.5%)
CIE-LABlab(30.76, 37.90, -62.30)
CIE-LCHlch(30.76, 72.92, 301.32°)
OKLaboklab(41.89% 0.0177 -0.1799)
OKLCHoklch(41.89% 0.181 275.6)
XYZxyz(10.4410, 6.5508, 39.7359)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837AC #ABAC37
analogous
#3771AC #3837AC #7337AC
triadic
#3837AC #AC3837 #37AC38
tetradic
#3837AC #AC3771 #ABAC37 #37AC73
square
#3837AC #AC3771 #ABAC37 #37AC73
split-complementary
#3837AC #AC7337 #71AC37
monochromatic
#1A194F #29287E #3837AC #5857C9 #8685D8

Accessibility & contrast

On white

9.09
#3837AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3837AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837AC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837AC#FFFFFF#000000##FFFFFF
##3837AC1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3837ac;
/* rgb */ color: rgb(56, 55, 172);
/* oklch */ color: oklch(41.9% 0.181 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e6ec6',
    500: '#3837ac',
    950: '#000000',
  },
}
SCSS
$custom: #3837ac;
$custom-light: #7e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3837ac",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 240.513,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.18074,
    "h": 275.6
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3837AC

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

Preview Lab → · Contrast checker → · Palette generator →

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