#372B8A#372B8A

#372B8A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.151 H 281.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#372B8A
RGBrgb(55, 43, 138)
HSLhsl(248, 52%, 35%)
HSVhsv(248, 69%, 54%)
CMYKcmyk(60.1%, 68.8%, 0%, 45.9%)
CIE-LABlab(24.87, 33.66, -51.20)
CIE-LCHlch(24.87, 61.27, 303.32°)
OKLaboklab(36.67% 0.0306 -0.1474)
OKLCHoklch(36.67% 0.151 281.7)
XYZxyz(7.0254, 4.3745, 24.5140)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B8A #7E8A2B
analogous
#2B4E8A #372B8A #662B8A
triadic
#372B8A #8A372B #2B8A37
tetradic
#372B8A #8A2B4E #7E8A2B #2B8A66
square
#372B8A #8A2B4E #7E8A2B #2B8A66
split-complementary
#372B8A #8A662B #4E8A2B
monochromatic
#120E2D #241C5B #372B8A #4A3AB9 #6F61CE

Accessibility & contrast

On white

11.20
#372B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#372B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B8A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B8A#FFFFFF#000000##FFFFFF
##372B8A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#024456
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372b8a;
/* rgb */ color: rgb(55, 43, 138);
/* oklch */ color: oklch(36.7% 0.151 281.7);
Tailwind
colors: {
  custom: {
    50: '#7765ad',
    500: '#372b8a',
    950: '#000000',
  },
}
SCSS
$custom: #372b8a;
$custom-light: #7765ad;
$custom-dark: #000000;
JSON
{
  "hex": "#372b8a",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 247.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36667,
    "c": 0.15052,
    "h": 281.7
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#372B8A
secondary
#A9B45D
accent
#DC4CCA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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