#3837BE#3837BE

#3837BE is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.6% C 0.204 H 274.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3837BE
RGBrgb(56, 55, 190)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.5%, 71.1%, 0%, 25.5%)
CIE-LABlab(32.46, 43.96, -70.20)
CIE-LCHlch(32.46, 82.83, 302.05°)
OKLaboklab(43.63% 0.0152 -0.203)
OKLCHoklch(43.63% 0.204 274.3)
XYZxyz(12.2883, 7.2897, 49.4647)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837BE #BDBE37
analogous
#377ABE #3837BE #7B37BE
triadic
#3837BE #BE3837 #37BE38
tetradic
#3837BE #BE377A #BDBE37 #37BE7B
square
#3837BE #BE377A #BDBE37 #37BE7B
split-complementary
#3837BE #BE7B37 #7ABE37
monochromatic
#1C1C5F #2A298F #3837BE #6261D1 #9190DF

Accessibility & contrast

On white

8.54
#3837BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3837BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837BE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837BE#FFFFFF#000000##FFFFFF
##3837BE1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3837be;
/* rgb */ color: rgb(56, 55, 190);
/* oklch */ color: oklch(43.6% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#826fd3',
    500: '#3837be',
    950: '#000000',
  },
}
SCSS
$custom: #3837be;
$custom-light: #826fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3837be",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 240.444,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.20353,
    "h": 274.3
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#3837BE
secondary
#C9CA87
accent
#DE49DD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3837BE

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

Preview Lab → · Contrast checker → · Palette generator →

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