#372F94#372F94

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

Color values

HEX#372F94
RGBrgb(55, 47, 148)
HSLhsl(245, 52%, 38%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(62.8%, 68.2%, 0%, 42%)
CIE-LABlab(26.69, 34.54, -54.42)
CIE-LCHlch(26.69, 64.46, 302.41°)
OKLaboklab(38.26% 0.0257 -0.1568)
OKLCHoklch(38.26% 0.159 279.3)
XYZxyz(7.9357, 4.9828, 28.5548)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F94 #8C942F
analogous
#2F5A94 #372F94 #692F94
triadic
#372F94 #94372F #2F9437
tetradic
#372F94 #942F5A #8C942F #2F9469
square
#372F94 #942F5A #8C942F #2F9469
split-complementary
#372F94 #94692F #5A942F
monochromatic
#141137 #262066 #372F94 #493EC2 #756DD1

Accessibility & contrast

On white

10.52
#372F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#372F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F94
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F94#FFFFFF#000000##FFFFFF
##372F941.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372f94;
/* rgb */ color: rgb(55, 47, 148);
/* oklch */ color: oklch(38.3% 0.159 279.3);
Tailwind
colors: {
  custom: {
    50: '#7968b4',
    500: '#372f94',
    950: '#000000',
  },
}
SCSS
$custom: #372f94;
$custom-light: #7968b4;
$custom-dark: #000000;
JSON
{
  "hex": "#372f94",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 244.752,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.15893,
    "h": 279.3
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#372F94
secondary
#B1B867
accent
#DB4DD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372F94

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

Preview Lab → · Contrast checker → · Palette generator →

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