#373EA4#373EA4

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

Color values

HEX#373EA4
RGBrgb(55, 62, 164)
HSLhsl(236, 50%, 43%)
HSVhsv(236, 66%, 64%)
CMYKcmyk(66.5%, 62.2%, 0%, 35.7%)
CIE-LABlab(31.66, 30.57, -56.03)
CIE-LCHlch(31.66, 63.83, 298.62°)
OKLaboklab(42.32% 0.0117 -0.1615)
OKLCHoklch(42.32% 0.162 274.2)
XYZxyz(9.9968, 6.9369, 35.9269)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA4 #A49D37
analogous
#3774A4 #373EA4 #6637A4
triadic
#373EA4 #A4373E #3EA437
tetradic
#373EA4 #A43774 #A49D37 #37A466
square
#373EA4 #A43774 #A49D37 #37A466
split-complementary
#373EA4 #A46637 #74A437
monochromatic
#181B48 #282D76 #373EA4 #535AC5 #8186D5

Accessibility & contrast

On white

8.80
#373EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#373EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373EA4
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA4#FFFFFF#000000##FFFFFF
##373EA41.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373ea4;
/* rgb */ color: rgb(55, 62, 164);
/* oklch */ color: oklch(42.3% 0.162 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b73c0',
    500: '#373ea4',
    950: '#000000',
  },
}
SCSS
$custom: #373ea4;
$custom-light: #7b73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea4",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 236.147,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.16188,
    "h": 274.2
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #373EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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