#372A8A#372A8A

#372A8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.152 H 282.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#372A8A
RGBrgb(55, 42, 138)
HSLhsl(248, 53%, 35%)
HSVhsv(248, 70%, 54%)
CMYKcmyk(60.1%, 69.6%, 0%, 45.9%)
CIE-LABlab(24.65, 34.27, -51.57)
CIE-LCHlch(24.65, 61.92, 303.61°)
OKLaboklab(36.5% 0.0315 -0.1485)
OKLCHoklch(36.5% 0.152 282)
XYZxyz(6.9895, 4.3027, 24.5020)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A8A #7D8A2A
analogous
#2A4D8A #372A8A #672A8A
triadic
#372A8A #8A372A #2A8A37
tetradic
#372A8A #8A2A4D #7D8A2A #2A8A67
square
#372A8A #8A2A4D #7D8A2A #2A8A67
split-complementary
#372A8A #8A672A #4D8A2A
monochromatic
#120D2C #241C5B #372A8A #4A38B9 #6F60CF

Accessibility & contrast

On white

11.29
#372A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A8A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A8A#FFFFFF#000000##FFFFFF
##372A8A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#024356
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372a8a;
/* rgb */ color: rgb(55, 42, 138);
/* oklch */ color: oklch(36.5% 0.152 282.0);
Tailwind
colors: {
  custom: {
    50: '#7865ad',
    500: '#372a8a',
    950: '#000000',
  },
}
SCSS
$custom: #372a8a;
$custom-light: #7865ad;
$custom-dark: #000000;
JSON
{
  "hex": "#372a8a",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 248.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36505,
    "c": 0.15177,
    "h": 282
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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