#373F97#373F97

#373F97 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.142 H 274.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#373F97
RGBrgb(55, 63, 151)
HSLhsl(235, 47%, 40%)
HSVhsv(235, 64%, 59%)
CMYKcmyk(63.6%, 58.3%, 0%, 40.8%)
CIE-LABlab(30.88, 25.29, -49.42)
CIE-LCHlch(30.88, 55.52, 297.10°)
OKLaboklab(41.41% 0.011 -0.142)
OKLCHoklch(41.41% 0.142 274.4)
XYZxyz(8.9371, 6.6009, 30.0753)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373F97 #978F37
analogous
#376F97 #373F97 #5F3797
triadic
#373F97 #97373F #3F9737
tetradic
#373F97 #97376F #978F37 #37975F
square
#373F97 #97376F #978F37 #37975F
split-complementary
#373F97 #975F37 #6F9737
monochromatic
#161A3D #272C6A #373F97 #4D56BE #7A81CF

Accessibility & contrast

On white

9.05
#373F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#373F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373F97
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373F97#FFFFFF#000000##FFFFFF
##373F971.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #373f97;
/* rgb */ color: rgb(55, 63, 151);
/* oklch */ color: oklch(41.4% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#7874b6',
    500: '#373f97',
    950: '#000000',
  },
}
SCSS
$custom: #373f97;
$custom-light: #7874b6;
$custom-dark: #000000;
JSON
{
  "hex": "#373f97",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 235,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.14247,
    "h": 274.4
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#373F97
secondary
#B8B272
accent
#CB52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #373F97

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

Preview Lab → · Contrast checker → · Palette generator →

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