#373EA3#373EA3

#373EA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.161 H 274.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#373EA3
RGBrgb(55, 62, 163)
HSLhsl(236, 50%, 43%)
HSVhsv(236, 66%, 64%)
CMYKcmyk(66.3%, 62%, 0%, 36.1%)
CIE-LABlab(31.58, 30.22, -55.56)
CIE-LCHlch(31.58, 63.24, 298.54°)
OKLaboklab(42.23% 0.0118 -0.1601)
OKLCHoklch(42.23% 0.161 274.2)
XYZxyz(9.9068, 6.9010, 35.4532)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA3 #A39C37
analogous
#3774A3 #373EA3 #6637A3
triadic
#373EA3 #A3373E #3EA337
tetradic
#373EA3 #A33774 #A39C37 #37A366
square
#373EA3 #A33774 #A39C37 #37A366
split-complementary
#373EA3 #A36637 #74A337
monochromatic
#181B47 #282D75 #373EA3 #525AC5 #8086D4

Accessibility & contrast

On white

8.82
#373EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#373EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373EA3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA3#FFFFFF#000000##FFFFFF
##373EA31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373ea3;
/* rgb */ color: rgb(55, 62, 163);
/* oklch */ color: oklch(42.2% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b73bf',
    500: '#373ea3',
    950: '#000000',
  },
}
SCSS
$custom: #373ea3;
$custom-light: #7b73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea3",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 236.111,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.16052,
    "h": 274.2
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#373EA3
secondary
#BEB978
accent
#D04FD9
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #373EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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