#372A7D#372A7D

#372A7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.134 H 284.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#372A7D
RGBrgb(55, 42, 125)
HSLhsl(249, 50%, 33%)
HSVhsv(249, 66%, 49%)
CMYKcmyk(56%, 66.4%, 0%, 51%)
CIE-LABlab(23.50, 29.97, -45.28)
CIE-LCHlch(23.50, 54.30, 303.50°)
OKLaboklab(35.32% 0.0332 -0.13)
OKLCHoklch(35.32% 0.134 284.3)
XYZxyz(6.1041, 3.9485, 19.8385)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A7D #707D2A
analogous
#2A467D #372A7D #612A7D
triadic
#372A7D #7D372A #2A7D37
tetradic
#372A7D #7D2A46 #707D2A #2A7D61
square
#372A7D #7D2A46 #707D2A #2A7D61
split-complementary
#372A7D #7D612A #467D2A
monochromatic
#0F0B21 #231B4F #372A7D #4B39AB #6B5AC8

Accessibility & contrast

On white

11.73
#372A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A7D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A7D#FFFFFF#000000##FFFFFF
##372A7D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#193E4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372a7d;
/* rgb */ color: rgb(55, 42, 125);
/* oklch */ color: oklch(35.3% 0.134 284.3);
Tailwind
colors: {
  custom: {
    50: '#7564a3',
    500: '#372a7d',
    950: '#000000',
  },
}
SCSS
$custom: #372a7d;
$custom-light: #7564a3;
$custom-dark: #000000;
JSON
{
  "hex": "#372a7d",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 249.398,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3532,
    "c": 0.13417,
    "h": 284.3
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#372A7D
secondary
#9FAD56
accent
#D94FC4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #372A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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