#3837CD#3837CD

#3837CD is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.222 H 273.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3837CD
RGBrgb(56, 55, 205)
HSLhsl(240, 60%, 51%)
HSVhsv(240, 73%, 80%)
CMYKcmyk(72.7%, 73.2%, 0%, 19.6%)
CIE-LABlab(33.94, 48.88, -76.53)
CIE-LCHlch(33.94, 90.81, 302.57°)
OKLaboklab(45.13% 0.0127 -0.2214)
OKLCHoklch(45.13% 0.222 273.3)
XYZxyz(14.0128, 7.9795, 58.5475)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837CD #CCCD37
analogous
#3781CD #3837CD #8337CD
triadic
#3837CD #CD3837 #37CD38
tetradic
#3837CD #CD3781 #CCCD37 #37CD83
square
#3837CD #CD3781 #CCCD37 #37CD83
split-complementary
#3837CD #CD8337 #81CD37
monochromatic
#1C1C6E #29289F #3837CD #6968D9 #9999E5

Accessibility & contrast

On white

8.09
#3837CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3837CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837CD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837CD#FFFFFF#000000##FFFFFF
##3837CD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3837cd;
/* rgb */ color: rgb(56, 55, 205);
/* oklch */ color: oklch(45.1% 0.222 273.3);
Tailwind
colors: {
  custom: {
    50: '#8570de',
    500: '#3837cd',
    950: '#000000',
  },
}
SCSS
$custom: #3837cd;
$custom-light: #8570de;
$custom-dark: #000000;
JSON
{
  "hex": "#3837cd",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 240.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.22178,
    "h": 273.3
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#3837CD
secondary
#D1D18F
accent
#E345E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3837CD

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

Preview Lab → · Contrast checker → · Palette generator →

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