#372B74#372B74

#372B74 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.120 H 285.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#372B74
RGBrgb(55, 43, 116)
HSLhsl(250, 46%, 31%)
HSVhsv(250, 63%, 45%)
CMYKcmyk(52.6%, 62.9%, 0%, 54.5%)
CIE-LABlab(23.00, 26.35, -40.36)
CIE-LCHlch(23.00, 48.20, 303.13°)
OKLaboklab(34.72% 0.0328 -0.1155)
OKLCHoklch(34.72% 0.12 285.8)
XYZxyz(5.5909, 3.8007, 16.9586)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B74 #68742B
analogous
#2B4374 #372B74 #5B2B74
triadic
#372B74 #74372B #2B7437
tetradic
#372B74 #742B43 #68742B #2B745B
square
#372B74 #742B43 #68742B #2B745B
split-complementary
#372B74 #745B2B #43742B
monochromatic
#0D0A1B #221A47 #372B74 #4C3CA1 #6958C1

Accessibility & contrast

On white

11.93
#372B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#372B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B74
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B74#FFFFFF#000000##FFFFFF
##372B741.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#213C4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372b74;
/* rgb */ color: rgb(55, 43, 116);
/* oklch */ color: oklch(34.7% 0.120 285.8);
Tailwind
colors: {
  custom: {
    50: '#74659d',
    500: '#372b74',
    950: '#000000',
  },
}
SCSS
$custom: #372b74;
$custom-light: #74659d;
$custom-dark: #000000;
JSON
{
  "hex": "#372b74",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 249.863,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34722,
    "c": 0.12011,
    "h": 285.8
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#372B74
secondary
#98A655
accent
#D652C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372B74

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

Preview Lab → · Contrast checker → · Palette generator →

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