#372E97#372E97

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

Color values

HEX#372E97
RGBrgb(55, 46, 151)
HSLhsl(245, 53%, 39%)
HSVhsv(245, 70%, 59%)
CMYKcmyk(63.6%, 69.5%, 0%, 40.8%)
CIE-LABlab(26.73, 36.16, -56.18)
CIE-LCHlch(26.73, 66.82, 302.77°)
OKLaboklab(38.38% 0.0261 -0.162)
OKLCHoklch(38.38% 0.164 279.2)
XYZxyz(8.1367, 5.0000, 29.8085)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E97 #8E972E
analogous
#2E5997 #372E97 #6B2E97
triadic
#372E97 #97372E #2E9737
tetradic
#372E97 #972E59 #8E972E #2E976B
square
#372E97 #972E59 #8E972E #2E976B
split-complementary
#372E97 #976B2E #59972E
monochromatic
#151139 #262068 #372E97 #493EC4 #766DD2

Accessibility & contrast

On white

10.50
#372E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372E97
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E97#FFFFFF#000000##FFFFFF
##372E971.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372e97;
/* rgb */ color: rgb(55, 46, 151);
/* oklch */ color: oklch(38.4% 0.164 279.2);
Tailwind
colors: {
  custom: {
    50: '#7a68b7',
    500: '#372e97',
    950: '#000000',
  },
}
SCSS
$custom: #372e97;
$custom-light: #7a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372e97",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 245.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.16408,
    "h": 279.2
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#372E97
secondary
#B3BA67
accent
#DD4BD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372E97

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

Preview Lab → · Contrast checker → · Palette generator →

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