#372A7B#372A7B

#372A7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.131 H 284.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#372A7B
RGBrgb(55, 42, 123)
HSLhsl(250, 49%, 32%)
HSVhsv(250, 66%, 48%)
CMYKcmyk(55.3%, 65.9%, 0%, 51.8%)
CIE-LABlab(23.33, 29.31, -44.29)
CIE-LCHlch(23.33, 53.11, 303.50°)
OKLaboklab(35.14% 0.0334 -0.1271)
OKLCHoklch(35.14% 0.131 284.7)
XYZxyz(5.9776, 3.8979, 19.1724)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A7B #6E7B2A
analogous
#2A457B #372A7B #602A7B
triadic
#372A7B #7B372A #2A7B37
tetradic
#372A7B #7B2A45 #6E7B2A #2A7B60
square
#372A7B #7B2A45 #6E7B2A #2A7B60
split-complementary
#372A7B #7B602A #457B2A
monochromatic
#0E0B20 #231A4D #372A7B #4B3AA9 #6B59C6

Accessibility & contrast

On white

11.80
#372A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A7B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A7B#FFFFFF#000000##FFFFFF
##372A7B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#1B3E4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372a7b;
/* rgb */ color: rgb(55, 42, 123);
/* oklch */ color: oklch(35.1% 0.131 284.7);
Tailwind
colors: {
  custom: {
    50: '#7564a2',
    500: '#372a7b',
    950: '#000000',
  },
}
SCSS
$custom: #372a7b;
$custom-light: #7564a2;
$custom-dark: #000000;
JSON
{
  "hex": "#372a7b",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 249.63,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35144,
    "c": 0.1314,
    "h": 284.7
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#372A7B
secondary
#9EAC55
accent
#D94FC3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #372A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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