#372EA9#372EA9

#372EA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.187 H 277.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#372EA9
RGBrgb(55, 46, 169)
HSLhsl(244, 57%, 42%)
HSVhsv(244, 73%, 66%)
CMYKcmyk(67.5%, 72.8%, 0%, 33.7%)
CIE-LABlab(28.46, 42.12, -64.29)
CIE-LCHlch(28.46, 76.85, 303.23°)
OKLaboklab(40.13% 0.023 -0.1857)
OKLCHoklch(40.13% 0.187 277.1)
XYZxyz(9.7116, 5.6299, 38.1033)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA9 #A0A92E
analogous
#2E63A9 #372EA9 #742EA9
triadic
#372EA9 #A9372E #2EA937
tetradic
#372EA9 #A92E63 #A0A92E #2EA974
square
#372EA9 #A92E63 #A0A92E #2EA974
split-complementary
#372EA9 #A9742E #63A92E
monochromatic
#181449 #272179 #372EA9 #5147CD #7F77DA

Accessibility & contrast

On white

9.88
#372EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372EA9
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA9#FFFFFF#000000##FFFFFF
##372EA91.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372ea9;
/* rgb */ color: rgb(55, 46, 169);
/* oklch */ color: oklch(40.1% 0.187 277.1);
Tailwind
colors: {
  custom: {
    50: '#7e68c4',
    500: '#372ea9',
    950: '#000000',
  },
}
SCSS
$custom: #372ea9;
$custom-light: #7e68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea9",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 244.39,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.18711,
    "h": 277.1
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#372EA9
secondary
#BCC271
accent
#E047D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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