#373EA7#373EA7

#373EA7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.166 H 274.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#373EA7
RGBrgb(55, 62, 167)
HSLhsl(236, 50%, 44%)
HSVhsv(236, 67%, 65%)
CMYKcmyk(67.1%, 62.9%, 0%, 34.5%)
CIE-LABlab(31.91, 31.63, -57.42)
CIE-LCHlch(31.91, 65.56, 298.85°)
OKLaboklab(42.58% 0.0116 -0.1656)
OKLCHoklch(42.58% 0.166 274)
XYZxyz(10.2709, 7.0466, 37.3706)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA7 #A7A037
analogous
#3776A7 #373EA7 #6837A7
triadic
#373EA7 #A7373E #3EA737
tetradic
#373EA7 #A73776 #A7A037 #37A768
square
#373EA7 #A73776 #A7A037 #37A768
split-complementary
#373EA7 #A76837 #76A737
monochromatic
#191C4B #282D79 #373EA7 #545CC7 #8288D6

Accessibility & contrast

On white

8.72
#373EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#373EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373EA7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA7#FFFFFF#000000##FFFFFF
##373EA71.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373ea7;
/* rgb */ color: rgb(55, 62, 167);
/* oklch */ color: oklch(42.6% 0.166 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c73c2',
    500: '#373ea7',
    950: '#000000',
  },
}
SCSS
$custom: #373ea7;
$custom-light: #7c73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea7",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 236.25,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.16597,
    "h": 274
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#373EA7
secondary
#C0BB7A
accent
#D14EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #373EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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