#3837B6#3837B6

#3837B6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.194 H 274.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3837B6
RGBrgb(56, 55, 182)
HSLhsl(240, 54%, 46%)
HSVhsv(240, 70%, 71%)
CMYKcmyk(69.2%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.69, 41.29, -66.73)
CIE-LCHlch(31.69, 78.47, 301.74°)
OKLaboklab(42.85% 0.0164 -0.1928)
OKLCHoklch(42.85% 0.194 274.9)
XYZxyz(11.4378, 6.9495, 44.9855)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837B6 #B5B637
analogous
#3776B6 #3837B6 #7837B6
triadic
#3837B6 #B63837 #37B638
tetradic
#3837B6 #B63776 #B5B637 #37B678
square
#3837B6 #B63776 #B5B637 #37B678
split-complementary
#3837B6 #B67837 #76B637
monochromatic
#1B1B58 #2A2987 #3837B6 #5D5CCE #8C8BDC

Accessibility & contrast

On white

8.79
#3837B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3837B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837B6
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837B6#FFFFFF#000000##FFFFFF
##3837B61.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3837b6;
/* rgb */ color: rgb(56, 55, 182);
/* oklch */ color: oklch(42.8% 0.194 274.9);
Tailwind
colors: {
  custom: {
    50: '#806fcd',
    500: '#3837b6',
    950: '#000000',
  },
}
SCSS
$custom: #3837b6;
$custom-light: #806fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3837b6",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 240.472,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.19353,
    "h": 274.9
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#3837B6
secondary
#C6C682
accent
#DD4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3837B6

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

Preview Lab → · Contrast checker → · Palette generator →

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