#372A88#372A88

#372A88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.149 H 282.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#372A88
RGBrgb(55, 42, 136)
HSLhsl(248, 53%, 35%)
HSVhsv(248, 69%, 53%)
CMYKcmyk(59.6%, 69.1%, 0%, 46.7%)
CIE-LABlab(24.47, 33.61, -50.62)
CIE-LCHlch(24.47, 60.76, 303.59°)
OKLaboklab(36.32% 0.0318 -0.1457)
OKLCHoklch(36.32% 0.149 282.3)
XYZxyz(6.8461, 4.2453, 23.7464)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A88 #7B882A
analogous
#2A4C88 #372A88 #662A88
triadic
#372A88 #88372A #2A8837
tetradic
#372A88 #882A4C #7B882A #2A8866
square
#372A88 #882A4C #7B882A #2A8866
split-complementary
#372A88 #88662A #4C882A
monochromatic
#110D2A #241C59 #372A88 #4A38B7 #6E5FCE

Accessibility & contrast

On white

11.36
#372A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A88
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A88#FFFFFF#000000##FFFFFF
##372A881.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#074255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372a88;
/* rgb */ color: rgb(55, 42, 136);
/* oklch */ color: oklch(36.3% 0.149 282.3);
Tailwind
colors: {
  custom: {
    50: '#7765ac',
    500: '#372a88',
    950: '#000000',
  },
}
SCSS
$custom: #372a88;
$custom-light: #7765ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372a88",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 248.298,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.1491,
    "h": 282.3
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#372A88
secondary
#A7B35B
accent
#DC4CC8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372A88

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

Preview Lab → · Contrast checker → · Palette generator →

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