#372B79#372B79

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

Color values

HEX#372B79
RGBrgb(55, 43, 121)
HSLhsl(249, 48%, 32%)
HSVhsv(249, 64%, 47%)
CMYKcmyk(54.5%, 64.5%, 0%, 52.5%)
CIE-LABlab(23.41, 28.01, -42.90)
CIE-LCHlch(23.41, 51.23, 303.14°)
OKLaboklab(35.15% 0.0325 -0.123)
OKLCHoklch(35.15% 0.127 284.8)
XYZxyz(5.8896, 3.9201, 18.5318)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B79 #6D792B
analogous
#2B4679 #372B79 #5E2B79
triadic
#372B79 #79372B #2B7937
tetradic
#372B79 #792B46 #6D792B #2B795E
square
#372B79 #792B46 #6D792B #2B795E
split-complementary
#372B79 #795E2B #46792B
monochromatic
#0E0B1F #221B4C #372B79 #4C3BA6 #6A5AC4

Accessibility & contrast

On white

11.77
#372B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372B79
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B79#FFFFFF#000000##FFFFFF
##372B791.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#1C3E4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372b79;
/* rgb */ color: rgb(55, 43, 121);
/* oklch */ color: oklch(35.1% 0.127 284.8);
Tailwind
colors: {
  custom: {
    50: '#7465a0',
    500: '#372b79',
    950: '#000000',
  },
}
SCSS
$custom: #372b79;
$custom-light: #7465a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372b79",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 249.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35146,
    "c": 0.12722,
    "h": 284.8
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#372B79
secondary
#9DAA56
accent
#D751C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #372B79

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

Preview Lab → · Contrast checker → · Palette generator →

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