#3837CB#3837CB

#3837CB is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.219 H 273.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3837CB
RGBrgb(56, 55, 203)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 73%, 80%)
CMYKcmyk(72.4%, 72.9%, 0%, 20.4%)
CIE-LABlab(33.74, 48.23, -75.70)
CIE-LCHlch(33.74, 89.76, 302.50°)
OKLaboklab(44.93% 0.0131 -0.219)
OKLCHoklch(44.93% 0.219 273.4)
XYZxyz(13.7730, 7.8835, 57.2842)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837CB #CACB37
analogous
#3780CB #3837CB #8237CB
triadic
#3837CB #CB3837 #37CB38
tetradic
#3837CB #CB3780 #CACB37 #37CB82
square
#3837CB #CB3780 #CACB37 #37CB82
split-complementary
#3837CB #CB8237 #80CB37
monochromatic
#1D1C6C #29299C #3837CB #6868D8 #9998E4

Accessibility & contrast

On white

8.15
#3837CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3837CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837CB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837CB#FFFFFF#000000##FFFFFF
##3837CB1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CF
Deuteranopia (green-blind)
#0048C8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3837cb;
/* rgb */ color: rgb(56, 55, 203);
/* oklch */ color: oklch(44.9% 0.219 273.4);
Tailwind
colors: {
  custom: {
    50: '#8570dc',
    500: '#3837cb',
    950: '#000000',
  },
}
SCSS
$custom: #3837cb;
$custom-light: #8570dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3837cb",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 240.405,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.21938,
    "h": 273.4
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#3837CB
secondary
#CFD08E
accent
#E246E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3837CB

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

Preview Lab → · Contrast checker → · Palette generator →

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