#372E7B#372E7B

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

Color values

HEX#372E7B
RGBrgb(55, 46, 123)
HSLhsl(247, 46%, 33%)
HSVhsv(247, 63%, 48%)
CMYKcmyk(55.3%, 62.6%, 0%, 51.8%)
CIE-LABlab(24.31, 26.73, -42.70)
CIE-LCHlch(24.31, 50.38, 302.05°)
OKLaboklab(35.86% 0.029 -0.1224)
OKLCHoklch(35.86% 0.126 283.3)
XYZxyz(6.1266, 4.1959, 19.2221)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E7B #727B2E
analogous
#2E4B7B #372E7B #5D2E7B
triadic
#372E7B #7B372E #2E7B37
tetradic
#372E7B #7B2E4B #727B2E #2E7B5D
square
#372E7B #7B2E4B #727B2E #2E7B5D
split-complementary
#372E7B #7B5D2E #4B7B2E
monochromatic
#0F0D22 #231D4E #372E7B #4B3FA8 #6C60C3

Accessibility & contrast

On white

11.42
#372E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E7B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E7B#FFFFFF#000000##FFFFFF
##372E7B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#1A4050
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372e7b;
/* rgb */ color: rgb(55, 46, 123);
/* oklch */ color: oklch(35.9% 0.126 283.3);
Tailwind
colors: {
  custom: {
    50: '#7467a2',
    500: '#372e7b',
    950: '#000000',
  },
}
SCSS
$custom: #372e7b;
$custom-light: #7467a2;
$custom-dark: #000000;
JSON
{
  "hex": "#372e7b",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 247.013,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.1258,
    "h": 283.3
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#372E7B
secondary
#A1AA5B
accent
#D553C6
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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