#3837B9#3837B9

#3837B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.197 H 274.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3837B9
RGBrgb(56, 55, 185)
HSLhsl(240, 54%, 47%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69.7%, 70.3%, 0%, 27.5%)
CIE-LABlab(31.98, 42.29, -68.04)
CIE-LCHlch(31.98, 80.11, 301.86°)
OKLaboklab(43.14% 0.016 -0.1966)
OKLCHoklch(43.14% 0.197 274.6)
XYZxyz(11.7511, 7.0748, 46.6358)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837B9 #B8B937
analogous
#3777B9 #3837B9 #7937B9
triadic
#3837B9 #B93837 #37B938
tetradic
#3837B9 #B93777 #B8B937 #37B979
square
#3837B9 #B93777 #B8B937 #37B979
split-complementary
#3837B9 #B97937 #77B937
monochromatic
#1B1B5B #2A298A #3837B9 #5F5ECF #8E8DDD

Accessibility & contrast

On white

8.69
#3837B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3837B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837B9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837B9#FFFFFF#000000##FFFFFF
##3837B91.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3837b9;
/* rgb */ color: rgb(56, 55, 185);
/* oklch */ color: oklch(43.1% 0.197 274.6);
Tailwind
colors: {
  custom: {
    50: '#816fcf',
    500: '#3837b9',
    950: '#000000',
  },
}
SCSS
$custom: #3837b9;
$custom-light: #816fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3837b9",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 240.462,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.1973,
    "h": 274.6
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#3837B9
secondary
#C7C884
accent
#DE4ADC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3837B9

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

Preview Lab → · Contrast checker → · Palette generator →

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