#372D98#372D98

#372D98 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.167 H 279.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#372D98
RGBrgb(55, 45, 152)
HSLhsl(246, 54%, 39%)
HSVhsv(246, 70%, 60%)
CMYKcmyk(63.8%, 70.4%, 0%, 40.4%)
CIE-LABlab(26.61, 37.10, -57.01)
CIE-LCHlch(26.61, 68.01, 303.06°)
OKLaboklab(38.31% 0.0268 -0.1644)
OKLCHoklch(38.31% 0.167 279.2)
XYZxyz(8.1796, 4.9554, 30.2251)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D98 #8E982D
analogous
#2D5898 #372D98 #6C2D98
triadic
#372D98 #98372D #2D9837
tetradic
#372D98 #982D58 #8E982D #2D986C
square
#372D98 #982D58 #8E982D #2D986C
split-complementary
#372D98 #986C2D #58982D
monochromatic
#15113A #261F69 #372D98 #493DC5 #766CD3

Accessibility & contrast

On white

10.55
#372D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#372D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D98
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D98#FFFFFF#000000##FFFFFF
##372D981.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372d98;
/* rgb */ color: rgb(55, 45, 152);
/* oklch */ color: oklch(38.3% 0.167 279.2);
Tailwind
colors: {
  custom: {
    50: '#7a67b7',
    500: '#372d98',
    950: '#000000',
  },
}
SCSS
$custom: #372d98;
$custom-light: #7a67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372d98",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 245.607,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.16656,
    "h": 279.2
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#372D98
secondary
#B3BA66
accent
#DE4AD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372D98

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

Preview Lab → · Contrast checker → · Palette generator →

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