#372E88#372E88

#372E88 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.144 H 281.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#372E88
RGBrgb(55, 46, 136)
HSLhsl(246, 49%, 36%)
HSVhsv(246, 66%, 53%)
CMYKcmyk(59.6%, 66.2%, 0%, 46.7%)
CIE-LABlab(25.39, 31.12, -49.10)
CIE-LCHlch(25.39, 58.14, 302.37°)
OKLaboklab(36.99% 0.028 -0.1412)
OKLCHoklch(36.99% 0.144 281.2)
XYZxyz(6.9951, 4.5433, 23.7961)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E88 #7F882E
analogous
#2E5288 #372E88 #642E88
triadic
#372E88 #88372E #2E8837
tetradic
#372E88 #882E52 #7F882E #2E8864
square
#372E88 #882E52 #7F882E #2E8864
split-complementary
#372E88 #88642E #52882E
monochromatic
#120F2D #251F5A #372E88 #493DB6 #7065CB

Accessibility & contrast

On white

11.00
#372E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#372E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E88
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E88#FFFFFF#000000##FFFFFF
##372E881.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#064556
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372e88;
/* rgb */ color: rgb(55, 46, 136);
/* oklch */ color: oklch(37.0% 0.144 281.2);
Tailwind
colors: {
  custom: {
    50: '#7767ab',
    500: '#372e88',
    950: '#000000',
  },
}
SCSS
$custom: #372e88;
$custom-light: #7767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372e88",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 246,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36989,
    "c": 0.14399,
    "h": 281.2
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#372E88
secondary
#AAB260
accent
#D94FCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372E88

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

Preview Lab → · Contrast checker → · Palette generator →

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