#372D88#372D88

#372D88 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.145 H 281.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#372D88
RGBrgb(55, 45, 136)
HSLhsl(247, 50%, 35%)
HSVhsv(247, 67%, 53%)
CMYKcmyk(59.6%, 66.9%, 0%, 46.7%)
CIE-LABlab(25.16, 31.75, -49.49)
CIE-LCHlch(25.16, 58.80, 302.68°)
OKLaboklab(36.82% 0.029 -0.1424)
OKLCHoklch(36.82% 0.145 281.5)
XYZxyz(6.9565, 4.4661, 23.7833)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D88 #7E882D
analogous
#2D5188 #372D88 #642D88
triadic
#372D88 #88372D #2D8837
tetradic
#372D88 #882D51 #7E882D #2D8864
square
#372D88 #882D51 #7E882D #2D8864
split-complementary
#372D88 #88642D #51882D
monochromatic
#120F2C #241E5A #372D88 #4A3CB6 #6F64CC

Accessibility & contrast

On white

11.09
#372D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#372D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D88
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D88#FFFFFF#000000##FFFFFF
##372D881.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372d88;
/* rgb */ color: rgb(55, 45, 136);
/* oklch */ color: oklch(36.8% 0.145 281.5);
Tailwind
colors: {
  custom: {
    50: '#7767ab',
    500: '#372d88',
    950: '#000000',
  },
}
SCSS
$custom: #372d88;
$custom-light: #7767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372d88",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 246.593,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.14528,
    "h": 281.5
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#372D88
secondary
#A9B25F
accent
#DA4ECA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372D88

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

Preview Lab → · Contrast checker → · Palette generator →

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