#372A98#372A98

#372A98 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.170 H 279.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#372A98
RGBrgb(55, 42, 152)
HSLhsl(247, 57%, 38%)
HSVhsv(247, 72%, 60%)
CMYKcmyk(63.8%, 72.4%, 0%, 40.4%)
CIE-LABlab(25.96, 38.87, -58.06)
CIE-LCHlch(25.96, 69.87, 303.80°)
OKLaboklab(37.85% 0.0291 -0.1675)
OKLCHoklch(37.85% 0.17 279.8)
XYZxyz(8.0692, 4.7345, 30.1883)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A98 #8B982A
analogous
#2A5498 #372A98 #6E2A98
triadic
#372A98 #98372A #2A9837
tetradic
#372A98 #982A54 #8B982A #2A986E
square
#372A98 #982A54 #8B982A #2A986E
split-complementary
#372A98 #986E2A #54982A
monochromatic
#141038 #261D68 #372A98 #4837C8 #7467D5

Accessibility & contrast

On white

10.79
#372A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#372A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A98
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A98#FFFFFF#000000##FFFFFF
##372A981.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372a98;
/* rgb */ color: rgb(55, 42, 152);
/* oklch */ color: oklch(37.9% 0.170 279.8);
Tailwind
colors: {
  custom: {
    50: '#7a65b7',
    500: '#372a98',
    950: '#000000',
  },
}
SCSS
$custom: #372a98;
$custom-light: #7a65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372a98",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 247.091,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37852,
    "c": 0.16998,
    "h": 279.8
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#372A98
secondary
#B1BB62
accent
#E048CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372A98

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

Preview Lab → · Contrast checker → · Palette generator →

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