#372F79#372F79

#372F79 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.121 H 283.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#372F79
RGBrgb(55, 47, 121)
HSLhsl(246, 44%, 33%)
HSVhsv(246, 61%, 47%)
CMYKcmyk(54.5%, 61.2%, 0%, 52.5%)
CIE-LABlab(24.40, 25.40, -41.28)
CIE-LCHlch(24.40, 48.47, 301.61°)
OKLaboklab(35.88% 0.028 -0.1182)
OKLCHoklch(35.88% 0.121 283.3)
XYZxyz(6.0422, 4.2254, 18.5827)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F79 #71792F
analogous
#2F4C79 #372F79 #5C2F79
triadic
#372F79 #79372F #2F7937
tetradic
#372F79 #792F4C #71792F #2F795C
square
#372F79 #792F4C #71792F #2F795C
split-complementary
#372F79 #795C2F #4C792F
monochromatic
#0F0D21 #231E4D #372F79 #4B40A5 #6B61C2

Accessibility & contrast

On white

11.38
#372F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F79
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F79#FFFFFF#000000##FFFFFF
##372F791.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#1C404F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372f79;
/* rgb */ color: rgb(55, 47, 121);
/* oklch */ color: oklch(35.9% 0.121 283.3);
Tailwind
colors: {
  custom: {
    50: '#7468a0',
    500: '#372f79',
    950: '#000000',
  },
}
SCSS
$custom: #372f79;
$custom-light: #7468a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372f79",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 246.486,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.12148,
    "h": 283.3
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#372F79
secondary
#A0A85B
accent
#D454C6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #372F79

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

Preview Lab → · Contrast checker → · Palette generator →

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