#373F9F#373F9F

#373F9F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.154 H 274.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#373F9F
RGBrgb(55, 63, 159)
HSLhsl(235, 49%, 42%)
HSVhsv(235, 65%, 62%)
CMYKcmyk(65.4%, 60.4%, 0%, 37.6%)
CIE-LABlab(31.51, 28.15, -53.26)
CIE-LCHlch(31.51, 60.24, 297.86°)
OKLaboklab(42.08% 0.011 -0.1533)
OKLCHoklch(42.08% 0.154 274.1)
XYZxyz(9.6090, 6.8696, 33.6138)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373F9F #9F9737
analogous
#37739F #373F9F #63379F
triadic
#373F9F #9F373F #3F9F37
tetradic
#373F9F #9F3773 #9F9737 #379F63
square
#373F9F #9F3773 #9F9737 #379F63
split-complementary
#373F9F #9F6337 #739F37
monochromatic
#181B44 #272D72 #373F9F #5159C3 #7E85D2

Accessibility & contrast

On white

8.85
#373F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#373F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373F9F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373F9F#FFFFFF#000000##FFFFFF
##373F9F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373f9f;
/* rgb */ color: rgb(55, 63, 159);
/* oklch */ color: oklch(42.1% 0.154 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a74bc',
    500: '#373f9f',
    950: '#000000',
  },
}
SCSS
$custom: #373f9f;
$custom-light: #7a74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#373f9f",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 235.385,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.15372,
    "h": 274.1
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#373F9F
secondary
#BCB676
accent
#CE50D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #373F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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