#373E97#373E97

#373E97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.144 H 274.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#373E97
RGBrgb(55, 62, 151)
HSLhsl(236, 47%, 40%)
HSVhsv(236, 64%, 59%)
CMYKcmyk(63.6%, 58.9%, 0%, 40.8%)
CIE-LABlab(30.62, 25.95, -49.85)
CIE-LCHlch(30.62, 56.20, 297.51°)
OKLaboklab(41.22% 0.012 -0.1433)
OKLCHoklch(41.22% 0.144 274.8)
XYZxyz(8.8823, 6.4911, 30.0570)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373E97 #979037
analogous
#376E97 #373E97 #603797
triadic
#373E97 #97373E #3E9737
tetradic
#373E97 #97376E #979037 #379760
square
#373E97 #97376E #979037 #379760
split-complementary
#373E97 #976037 #6E9737
monochromatic
#16193D #272C6A #373E97 #4D55BE #7A80CF

Accessibility & contrast

On white

9.14
#373E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#373E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373E97
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373E97#FFFFFF#000000##FFFFFF
##373E971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #373e97;
/* rgb */ color: rgb(55, 62, 151);
/* oklch */ color: oklch(41.2% 0.144 274.8);
Tailwind
colors: {
  custom: {
    50: '#7873b6',
    500: '#373e97',
    950: '#000000',
  },
}
SCSS
$custom: #373e97;
$custom-light: #7873b6;
$custom-dark: #000000;
JSON
{
  "hex": "#373e97",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 235.625,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.14381,
    "h": 274.8
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#373E97
secondary
#B8B272
accent
#CD52D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #373E97

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

Preview Lab → · Contrast checker → · Palette generator →

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