#372F98#372F98

#372F98 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.164 H 278.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#372F98
RGBrgb(55, 47, 152)
HSLhsl(245, 53%, 39%)
HSVhsv(245, 69%, 60%)
CMYKcmyk(63.8%, 69.1%, 0%, 40.4%)
CIE-LABlab(27.05, 35.89, -56.28)
CIE-LCHlch(27.05, 66.75, 302.53°)
OKLaboklab(38.63% 0.0252 -0.1623)
OKLCHoklch(38.63% 0.164 278.8)
XYZxyz(8.2577, 5.1116, 30.2512)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F98 #90982F
analogous
#2F5C98 #372F98 #6C2F98
triadic
#372F98 #98372F #2F9837
tetradic
#372F98 #982F5C #90982F #2F986C
square
#372F98 #982F5C #90982F #2F986C
split-complementary
#372F98 #986C2F #5C982F
monochromatic
#15123B #262169 #372F98 #4A40C4 #776FD2

Accessibility & contrast

On white

10.38
#372F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#372F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F98
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F98#FFFFFF#000000##FFFFFF
##372F981.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372f98;
/* rgb */ color: rgb(55, 47, 152);
/* oklch */ color: oklch(38.6% 0.164 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a68b7',
    500: '#372f98',
    950: '#000000',
  },
}
SCSS
$custom: #372f98;
$custom-light: #7a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372f98",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 244.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.16421,
    "h": 278.8
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372F98

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

Preview Lab → · Contrast checker → · Palette generator →

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