#3837DA#3837DA

#3837DA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.237 H 272.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3837DA
RGBrgb(56, 55, 218)
HSLhsl(240, 69%, 54%)
HSVhsv(240, 75%, 85%)
CMYKcmyk(74.3%, 74.8%, 0%, 14.5%)
CIE-LABlab(35.27, 53.05, -81.85)
CIE-LCHlch(35.27, 97.54, 302.95°)
OKLaboklab(46.47% 0.0104 -0.2369)
OKLCHoklch(46.47% 0.237 272.5)
XYZxyz(15.6477, 8.6334, 67.1578)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837DA #D9DA37
analogous
#3787DA #3837DA #8937DA
triadic
#3837DA #DA3837 #37DA38
tetradic
#3837DA #DA3787 #D9DA37 #37DA89
square
#3837DA #DA3787 #D9DA37 #37DA89
split-complementary
#3837DA #DA8937 #87DA37
monochromatic
#18187F #2221B3 #3837DA #6B6BE4 #9F9EED

Accessibility & contrast

On white

7.70
#3837DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3837DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837DA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837DA#FFFFFF#000000##FFFFFF
##3837DA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDF
Deuteranopia (green-blind)
#004BD7
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3837da;
/* rgb */ color: rgb(56, 55, 218);
/* oklch */ color: oklch(46.5% 0.237 272.5);
Tailwind
colors: {
  custom: {
    50: '#8870e7',
    500: '#3837da',
    950: '#000000',
  },
}
SCSS
$custom: #3837da;
$custom-light: #8870e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3837da",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 240.368,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.23712,
    "h": 272.5
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#3837DA
secondary
#D9D993
accent
#EC3CEB
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3837DA

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

Preview Lab → · Contrast checker → · Palette generator →

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