#372888#372888

#372888 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.152 H 282.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#372888
RGBrgb(55, 40, 136)
HSLhsl(249, 55%, 35%)
HSVhsv(249, 71%, 53%)
CMYKcmyk(59.6%, 70.6%, 0%, 46.7%)
CIE-LABlab(24.02, 34.83, -51.34)
CIE-LCHlch(24.02, 62.04, 304.15°)
OKLaboklab(36% 0.0336 -0.1478)
OKLCHoklch(36% 0.152 282.8)
XYZxyz(6.7769, 4.1069, 23.7234)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372888 #798828
analogous
#284988 #372888 #672888
triadic
#372888 #883728 #288837
tetradic
#372888 #882849 #798828 #288867
square
#372888 #882849 #798828 #288867
split-complementary
#372888 #886728 #498828
monochromatic
#110C29 #241A59 #372888 #4A36B7 #6E5BCF

Accessibility & contrast

On white

11.53
#372888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#372888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372888
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372888#FFFFFF#000000##FFFFFF
##3728881.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#084154
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372888;
/* rgb */ color: rgb(55, 40, 136);
/* oklch */ color: oklch(36.0% 0.152 282.8);
Tailwind
colors: {
  custom: {
    50: '#7763ac',
    500: '#372888',
    950: '#000000',
  },
}
SCSS
$custom: #372888;
$custom-light: #7763ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372888",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 249.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.15158,
    "h": 282.8
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#372888
secondary
#A6B458
accent
#DE4AC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #372888

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

Preview Lab → · Contrast checker → · Palette generator →

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