#373EA1#373EA1

#373EA1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.158 H 274.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#373EA1
RGBrgb(55, 62, 161)
HSLhsl(236, 49%, 42%)
HSVhsv(236, 66%, 63%)
CMYKcmyk(65.8%, 61.5%, 0%, 36.9%)
CIE-LABlab(31.42, 29.51, -54.62)
CIE-LCHlch(31.42, 62.08, 298.38°)
OKLaboklab(42.06% 0.0118 -0.1573)
OKLCHoklch(42.06% 0.158 274.3)
XYZxyz(9.7291, 6.8298, 34.5169)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA1 #A19A37
analogous
#3773A1 #373EA1 #6537A1
triadic
#373EA1 #A1373E #3EA137
tetradic
#373EA1 #A13773 #A19A37 #37A165
square
#373EA1 #A13773 #A19A37 #37A165
split-complementary
#373EA1 #A16537 #73A137
monochromatic
#181B46 #272C73 #373EA1 #5159C4 #7F85D3

Accessibility & contrast

On white

8.87
#373EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #373EA1
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA1#FFFFFF#000000##FFFFFF
##373EA11.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373ea1;
/* rgb */ color: rgb(55, 62, 161);
/* oklch */ color: oklch(42.1% 0.158 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b73be',
    500: '#373ea1',
    950: '#000000',
  },
}
SCSS
$custom: #373ea1;
$custom-light: #7b73be;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea1",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 236.038,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.15777,
    "h": 274.3
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #373EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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