#372A79#372A79

#372A79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.129 H 285.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#372A79
RGBrgb(55, 42, 121)
HSLhsl(250, 48%, 32%)
HSVhsv(250, 65%, 47%)
CMYKcmyk(54.5%, 65.3%, 0%, 52.5%)
CIE-LABlab(23.16, 28.65, -43.29)
CIE-LCHlch(23.16, 51.91, 303.49°)
OKLaboklab(34.97% 0.0336 -0.1242)
OKLCHoklch(34.97% 0.129 285.1)
XYZxyz(5.8537, 3.8483, 18.5198)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A79 #6C792A
analogous
#2A4579 #372A79 #5F2A79
triadic
#372A79 #79372A #2A7937
tetradic
#372A79 #792A45 #6C792A #2A795F
square
#372A79 #792A45 #6C792A #2A795F
split-complementary
#372A79 #795F2A #45792A
monochromatic
#0E0A1E #221A4C #372A79 #4C3AA6 #6A58C5

Accessibility & contrast

On white

11.87
#372A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#372A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A79
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A79#FFFFFF#000000##FFFFFF
##372A791.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#1D3D4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372a79;
/* rgb */ color: rgb(55, 42, 121);
/* oklch */ color: oklch(35.0% 0.129 285.1);
Tailwind
colors: {
  custom: {
    50: '#7464a0',
    500: '#372a79',
    950: '#000000',
  },
}
SCSS
$custom: #372a79;
$custom-light: #7464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372a79",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 249.873,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.12862,
    "h": 285.1
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#372A79
secondary
#9CAB54
accent
#D850C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #372A79

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

Preview Lab → · Contrast checker → · Palette generator →

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