#372A9C#372A9C

#372A9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.175 H 279.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#372A9C
RGBrgb(55, 42, 156)
HSLhsl(247, 58%, 39%)
HSVhsv(247, 73%, 61%)
CMYKcmyk(64.7%, 73.1%, 0%, 38.8%)
CIE-LABlab(26.35, 40.17, -59.87)
CIE-LCHlch(26.35, 72.10, 303.86°)
OKLaboklab(38.25% 0.0283 -0.1728)
OKLCHoklch(38.25% 0.175 279.3)
XYZxyz(8.4023, 4.8678, 31.9428)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A9C #8F9C2A
analogous
#2A569C #372A9C #702A9C
triadic
#372A9C #9C372A #2A9C37
tetradic
#372A9C #9C2A56 #8F9C2A #2A9C70
square
#372A9C #9C2A56 #8F9C2A #2A9C70
split-complementary
#372A9C #9C702A #569C2A
monochromatic
#15103C #261D6C #372A9C #4A39CA #766AD7

Accessibility & contrast

On white

10.64
#372A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A9C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A9C#FFFFFF#000000##FFFFFF
##372A9C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372a9c;
/* rgb */ color: rgb(55, 42, 156);
/* oklch */ color: oklch(38.2% 0.175 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b65ba',
    500: '#372a9c',
    950: '#000000',
  },
}
SCSS
$custom: #372a9c;
$custom-light: #7b65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372a9c",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 246.842,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.17506,
    "h": 279.3
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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