#372DAC#372DAC

#372DAC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.192 H 276.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#372DAC
RGBrgb(55, 45, 172)
HSLhsl(245, 59%, 43%)
HSVhsv(245, 74%, 67%)
CMYKcmyk(68%, 73.8%, 0%, 32.5%)
CIE-LABlab(28.56, 43.66, -65.93)
CIE-LCHlch(28.56, 79.08, 303.51°)
OKLaboklab(40.29% 0.0231 -0.1905)
OKLCHoklch(40.29% 0.192 276.9)
XYZxyz(9.9579, 5.6667, 39.5907)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DAC #A2AC2D
analogous
#2D63AC #372DAC #762DAC
triadic
#372DAC #AC372D #2DAC37
tetradic
#372DAC #AC2D63 #A2AC2D #2DAC76
square
#372DAC #AC2D63 #A2AC2D #2DAC76
split-complementary
#372DAC #AC762D #63AC2D
monochromatic
#18144B #27207B #372DAC #5247CF #8078DC

Accessibility & contrast

On white

9.84
#372DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#372DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372DAC
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372DAC#FFFFFF#000000##FFFFFF
##372DAC1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372dac;
/* rgb */ color: rgb(55, 45, 172);
/* oklch */ color: oklch(40.3% 0.192 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e68c6',
    500: '#372dac',
    950: '#000000',
  },
}
SCSS
$custom: #372dac;
$custom-light: #7e68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#372dac",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 244.724,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40292,
    "c": 0.19187,
    "h": 276.9
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#372DAC
secondary
#BDC471
accent
#E246D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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