#373B97#373B97

#373B97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.148 H 275.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#373B97
RGBrgb(55, 59, 151)
HSLhsl(238, 47%, 40%)
HSVhsv(238, 64%, 59%)
CMYKcmyk(63.6%, 60.9%, 0%, 40.8%)
CIE-LABlab(29.85, 27.92, -51.10)
CIE-LCHlch(29.85, 58.23, 298.65°)
OKLaboklab(40.64% 0.0148 -0.147)
OKLCHoklch(40.64% 0.148 275.7)
XYZxyz(8.7236, 6.1738, 30.0041)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373B97 #979337
analogous
#376B97 #373B97 #633797
triadic
#373B97 #97373B #3B9737
tetradic
#373B97 #97376B #979337 #379763
square
#373B97 #97376B #979337 #379763
split-complementary
#373B97 #976337 #6B9737
monochromatic
#16183D #27296A #373B97 #4D52BE #7A7DCF

Accessibility & contrast

On white

9.40
#373B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#373B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373B97
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373B97#FFFFFF#000000##FFFFFF
##373B971.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #373b97;
/* rgb */ color: rgb(55, 59, 151);
/* oklch */ color: oklch(40.6% 0.148 275.7);
Tailwind
colors: {
  custom: {
    50: '#7971b6',
    500: '#373b97',
    950: '#000000',
  },
}
SCSS
$custom: #373b97;
$custom-light: #7971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#373b97",
  "rgb": {
    "r": 55,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 237.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.14776,
    "h": 275.7
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#373B97
secondary
#B8B572
accent
#D152D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373B97

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

Preview Lab → · Contrast checker → · Palette generator →

#373B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva