#372E98#372E98

#372E98 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.165 H 279.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#372E98
RGBrgb(55, 46, 152)
HSLhsl(245, 54%, 39%)
HSVhsv(245, 70%, 60%)
CMYKcmyk(63.8%, 69.7%, 0%, 40.4%)
CIE-LABlab(26.83, 36.50, -56.64)
CIE-LCHlch(26.83, 67.38, 302.79°)
OKLaboklab(38.47% 0.026 -0.1633)
OKLCHoklch(38.47% 0.165 279)
XYZxyz(8.2182, 5.0326, 30.2380)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E98 #8F982E
analogous
#2E5A98 #372E98 #6C2E98
triadic
#372E98 #98372E #2E9837
tetradic
#372E98 #982E5A #8F982E #2E986C
square
#372E98 #982E5A #8F982E #2E986C
split-complementary
#372E98 #986C2E #5A982E
monochromatic
#15123A #262069 #372E98 #4A3EC5 #766DD3

Accessibility & contrast

On white

10.47
#372E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#372E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E98
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E98#FFFFFF#000000##FFFFFF
##372E981.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372e98;
/* rgb */ color: rgb(55, 46, 152);
/* oklch */ color: oklch(38.5% 0.165 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a68b7',
    500: '#372e98',
    950: '#000000',
  },
}
SCSS
$custom: #372e98;
$custom-light: #7a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372e98",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 245.094,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.16539,
    "h": 279
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#372E98
secondary
#B3BA68
accent
#DD4BD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372E98

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

Preview Lab → · Contrast checker → · Palette generator →

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