#372F99#372F99

#372F99 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.166 H 278.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#372F99
RGBrgb(55, 47, 153)
HSLhsl(245, 53%, 39%)
HSVhsv(245, 69%, 60%)
CMYKcmyk(64.1%, 69.3%, 0%, 40%)
CIE-LABlab(27.14, 36.22, -56.74)
CIE-LCHlch(27.14, 67.32, 302.56°)
OKLaboklab(38.73% 0.025 -0.1636)
OKLCHoklch(38.73% 0.166 278.7)
XYZxyz(8.3400, 5.1445, 30.6843)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F99 #91992F
analogous
#2F5C99 #372F99 #6C2F99
triadic
#372F99 #99372F #2F9937
tetradic
#372F99 #992F5C #91992F #2F996C
square
#372F99 #992F5C #91992F #2F996C
split-complementary
#372F99 #996C2F #5C992F
monochromatic
#15123B #26216A #372F99 #4B41C5 #776FD3

Accessibility & contrast

On white

10.35
#372F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#372F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F99
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F99#FFFFFF#000000##FFFFFF
##372F991.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372f99;
/* rgb */ color: rgb(55, 47, 153);
/* oklch */ color: oklch(38.7% 0.166 278.7);
Tailwind
colors: {
  custom: {
    50: '#7a68b8',
    500: '#372f99',
    950: '#000000',
  },
}
SCSS
$custom: #372f99;
$custom-light: #7a68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372f99",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 244.528,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.16552,
    "h": 278.7
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#372F99
secondary
#B4BA69
accent
#DC4BD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372F99

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

Preview Lab → · Contrast checker → · Palette generator →

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