#372A9B#372A9B

#372A9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.174 H 279.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#372A9B
RGBrgb(55, 42, 155)
HSLhsl(247, 57%, 39%)
HSVhsv(247, 73%, 61%)
CMYKcmyk(64.5%, 72.9%, 0%, 39.2%)
CIE-LABlab(26.26, 39.85, -59.42)
CIE-LCHlch(26.26, 71.54, 303.85°)
OKLaboklab(38.15% 0.0285 -0.1714)
OKLCHoklch(38.15% 0.174 279.4)
XYZxyz(8.3180, 4.8341, 31.4987)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A9B #8E9B2A
analogous
#2A559B #372A9B #6F2A9B
triadic
#372A9B #9B372A #2A9B37
tetradic
#372A9B #9B2A55 #8E9B2A #2A9B6F
square
#372A9B #9B2A55 #8E9B2A #2A9B6F
split-complementary
#372A9B #9B6F2A #559B2A
monochromatic
#15103B #261D6B #372A9B #4939C9 #7669D6

Accessibility & contrast

On white

10.68
#372A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#372A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A9B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A9B#FFFFFF#000000##FFFFFF
##372A9B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372a9b;
/* rgb */ color: rgb(55, 42, 155);
/* oklch */ color: oklch(38.1% 0.174 279.4);
Tailwind
colors: {
  custom: {
    50: '#7b65ba',
    500: '#372a9b',
    950: '#000000',
  },
}
SCSS
$custom: #372a9b;
$custom-light: #7b65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372a9b",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 246.903,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38149,
    "c": 0.1738,
    "h": 279.4
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#372A9B
secondary
#B3BD64
accent
#E147CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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