#372886#372886

#372886 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.149 H 283.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#372886
RGBrgb(55, 40, 134)
HSLhsl(250, 54%, 34%)
HSVhsv(250, 70%, 53%)
CMYKcmyk(59%, 70.1%, 0%, 47.5%)
CIE-LABlab(23.84, 34.17, -50.39)
CIE-LCHlch(23.84, 60.89, 304.14°)
OKLaboklab(35.81% 0.0339 -0.145)
OKLCHoklch(35.81% 0.149 283.2)
XYZxyz(6.6361, 4.0506, 22.9818)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372886 #778628
analogous
#284886 #372886 #662886
triadic
#372886 #863728 #288637
tetradic
#372886 #862848 #778628 #288666
square
#372886 #862848 #778628 #288666
split-complementary
#372886 #866628 #488628
monochromatic
#100C28 #241A57 #372886 #4A36B5 #6D5BCE

Accessibility & contrast

On white

11.60
#372886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#372886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372886
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372886#FFFFFF#000000##FFFFFF
##3728861.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#0C4053
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372886;
/* rgb */ color: rgb(55, 40, 134);
/* oklch */ color: oklch(35.8% 0.149 283.2);
Tailwind
colors: {
  custom: {
    50: '#7763aa',
    500: '#372886',
    950: '#000000',
  },
}
SCSS
$custom: #372886;
$custom-light: #7763aa;
$custom-dark: #000000;
JSON
{
  "hex": "#372886",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 249.574,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.14894,
    "h": 283.2
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#372886
secondary
#A4B357
accent
#DD4AC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372886

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

Preview Lab → · Contrast checker → · Palette generator →

#372886 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva