#3837BF#3837BF

#3837BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.7% C 0.205 H 274.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3837BF
RGBrgb(56, 55, 191)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.7%, 71.2%, 0%, 25.1%)
CIE-LABlab(32.55, 44.29, -70.63)
CIE-LCHlch(32.55, 83.37, 302.09°)
OKLaboklab(43.73% 0.0151 -0.2042)
OKLCHoklch(43.73% 0.205 274.2)
XYZxyz(12.3979, 7.3335, 50.0422)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837BF #BEBF37
analogous
#377ABF #3837BF #7C37BF
triadic
#3837BF #BF3837 #37BF38
tetradic
#3837BF #BF377A #BEBF37 #37BF7C
square
#3837BF #BF377A #BEBF37 #37BF7C
split-complementary
#3837BF #BF7C37 #7ABF37
monochromatic
#1C1C60 #2A298F #3837BF #6262D2 #9291DF

Accessibility & contrast

On white

8.51
#3837BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3837BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837BF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837BF#FFFFFF#000000##FFFFFF
##3837BF1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0046BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3837bf;
/* rgb */ color: rgb(56, 55, 191);
/* oklch */ color: oklch(43.7% 0.205 274.2);
Tailwind
colors: {
  custom: {
    50: '#826fd4',
    500: '#3837bf',
    950: '#000000',
  },
}
SCSS
$custom: #3837bf;
$custom-light: #826fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3837bf",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 240.441,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.20477,
    "h": 274.2
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#3837BF
secondary
#CACA88
accent
#DF49DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3837BF

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

Preview Lab → · Contrast checker → · Palette generator →

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