#372A8B#372A8B

#372A8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.153 H 281.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#372A8B
RGBrgb(55, 42, 139)
HSLhsl(248, 54%, 35%)
HSVhsv(248, 70%, 55%)
CMYKcmyk(60.4%, 69.8%, 0%, 45.5%)
CIE-LABlab(24.74, 34.60, -52.04)
CIE-LCHlch(24.74, 62.49, 303.62°)
OKLaboklab(36.6% 0.0313 -0.1498)
OKLCHoklch(36.6% 0.153 281.8)
XYZxyz(7.0623, 4.3318, 24.8851)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A8B #7E8B2A
analogous
#2A4D8B #372A8B #672A8B
triadic
#372A8B #8B372A #2A8B37
tetradic
#372A8B #8B2A4D #7E8B2A #2A8B67
square
#372A8B #8B2A4D #7E8B2A #2A8B67
split-complementary
#372A8B #8B672A #4D8B2A
monochromatic
#120E2D #241C5C #372A8B #4A38BA #6F60CF

Accessibility & contrast

On white

11.25
#372A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A8B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A8B#FFFFFF#000000##FFFFFF
##372A8B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372a8b;
/* rgb */ color: rgb(55, 42, 139);
/* oklch */ color: oklch(36.6% 0.153 281.8);
Tailwind
colors: {
  custom: {
    50: '#7865ae',
    500: '#372a8b',
    950: '#000000',
  },
}
SCSS
$custom: #372a8b;
$custom-light: #7865ae;
$custom-dark: #000000;
JSON
{
  "hex": "#372a8b",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 248.041,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.15309,
    "h": 281.8
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#372A8B
secondary
#A9B55C
accent
#DD4BC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #372A8B

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

Preview Lab → · Contrast checker → · Palette generator →

#372A8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva