#3837B8#3837B8

#3837B8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.196 H 274.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3837B8
RGBrgb(56, 55, 184)
HSLhsl(240, 54%, 47%)
HSVhsv(240, 70%, 72%)
CMYKcmyk(69.6%, 70.1%, 0%, 27.8%)
CIE-LABlab(31.88, 41.96, -67.61)
CIE-LCHlch(31.88, 79.57, 301.82°)
OKLaboklab(43.04% 0.0161 -0.1954)
OKLCHoklch(43.04% 0.196 274.7)
XYZxyz(11.6459, 7.0327, 46.0818)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837B8 #B7B837
analogous
#3777B8 #3837B8 #7937B8
triadic
#3837B8 #B83837 #37B838
tetradic
#3837B8 #B83777 #B7B837 #37B879
square
#3837B8 #B83777 #B7B837 #37B879
split-complementary
#3837B8 #B87937 #77B837
monochromatic
#1B1B5A #2A2989 #3837B8 #5E5DCF #8D8DDD

Accessibility & contrast

On white

8.73
#3837B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3837B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837B8
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837B8#FFFFFF#000000##FFFFFF
##3837B81.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3837b8;
/* rgb */ color: rgb(56, 55, 184);
/* oklch */ color: oklch(43.0% 0.196 274.7);
Tailwind
colors: {
  custom: {
    50: '#806fce',
    500: '#3837b8',
    950: '#000000',
  },
}
SCSS
$custom: #3837b8;
$custom-light: #806fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3837b8",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 240.465,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.19604,
    "h": 274.7
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#3837B8
secondary
#C7C784
accent
#DD4ADC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3837B8

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

Preview Lab → · Contrast checker → · Palette generator →

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