#3837C3#3837C3

#3837C3 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.210 H 273.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3837C3
RGBrgb(56, 55, 195)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 72%, 76%)
CMYKcmyk(71.3%, 71.8%, 0%, 23.5%)
CIE-LABlab(32.95, 45.61, -72.33)
CIE-LCHlch(32.95, 85.51, 302.23°)
OKLaboklab(44.12% 0.0144 -0.2092)
OKLCHoklch(44.12% 0.21 273.9)
XYZxyz(12.8441, 7.5120, 52.3922)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837C3 #C2C337
analogous
#377CC3 #3837C3 #7E37C3
triadic
#3837C3 #C33837 #37C338
tetradic
#3837C3 #C3377C #C2C337 #37C37E
square
#3837C3 #C3377C #C2C337 #37C37E
split-complementary
#3837C3 #C37E37 #7CC337
monochromatic
#1D1C64 #2A2A93 #3837C3 #6564D3 #9494E1

Accessibility & contrast

On white

8.39
#3837C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3837C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837C3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837C3#FFFFFF#000000##FFFFFF
##3837C31.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3837c3;
/* rgb */ color: rgb(56, 55, 195);
/* oklch */ color: oklch(44.1% 0.210 273.9);
Tailwind
colors: {
  custom: {
    50: '#836fd6',
    500: '#3837c3',
    950: '#000000',
  },
}
SCSS
$custom: #3837c3;
$custom-light: #836fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3837c3",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 240.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.20969,
    "h": 273.9
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#3837C3
secondary
#CBCC8A
accent
#DF49DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3837C3

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

Preview Lab → · Contrast checker → · Palette generator →

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