#3837A6#3837A6

#3837A6 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.173 H 276.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3837A6
RGBrgb(56, 55, 166)
HSLhsl(241, 50%, 43%)
HSVhsv(241, 67%, 65%)
CMYKcmyk(66.3%, 66.9%, 0%, 34.9%)
CIE-LABlab(30.22, 35.86, -59.59)
CIE-LCHlch(30.22, 69.54, 301.04°)
OKLaboklab(41.33% 0.0184 -0.1719)
OKLCHoklch(41.33% 0.173 276.1)
XYZxyz(9.8778, 6.3255, 36.7694)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837A6 #A5A637
analogous
#376DA6 #3837A6 #6F37A6
triadic
#3837A6 #A63837 #37A638
tetradic
#3837A6 #A6376D #A5A637 #37A66F
square
#3837A6 #A6376D #A5A637 #37A66F
split-complementary
#3837A6 #A66F37 #6DA637
monochromatic
#19194A #282878 #3837A6 #5554C6 #8382D6

Accessibility & contrast

On white

9.27
#3837A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3837A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837A6
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837A6#FFFFFF#000000##FFFFFF
##3837A61.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3837a6;
/* rgb */ color: rgb(56, 55, 166);
/* oklch */ color: oklch(41.3% 0.173 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ec1',
    500: '#3837a6',
    950: '#000000',
  },
}
SCSS
$custom: #3837a6;
$custom-light: #7d6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3837a6",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 240.541,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.1729,
    "h": 276.1
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#3837A6
secondary
#BEBF7A
accent
#DA4ED8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3837A6

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

Preview Lab → · Contrast checker → · Palette generator →

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