#373EA6#373EA6

#373EA6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.165 H 274.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#373EA6
RGBrgb(55, 62, 166)
HSLhsl(236, 50%, 43%)
HSVhsv(236, 67%, 65%)
CMYKcmyk(66.9%, 62.7%, 0%, 34.9%)
CIE-LABlab(31.83, 31.28, -56.96)
CIE-LCHlch(31.83, 64.98, 298.78°)
OKLaboklab(42.49% 0.0116 -0.1642)
OKLCHoklch(42.49% 0.165 274.1)
XYZxyz(10.1788, 7.0097, 36.8856)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA6 #A69F37
analogous
#3775A6 #373EA6 #6737A6
triadic
#373EA6 #A6373E #3EA637
tetradic
#373EA6 #A63775 #A69F37 #37A667
square
#373EA6 #A63775 #A69F37 #37A667
split-complementary
#373EA6 #A66737 #75A637
monochromatic
#191C4A #282D78 #373EA6 #545BC6 #8287D6

Accessibility & contrast

On white

8.74
#373EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#373EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373EA6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA6#FFFFFF#000000##FFFFFF
##373EA61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373ea6;
/* rgb */ color: rgb(55, 62, 166);
/* oklch */ color: oklch(42.5% 0.165 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c73c1',
    500: '#373ea6',
    950: '#000000',
  },
}
SCSS
$custom: #373ea6;
$custom-light: #7c73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea6",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 236.216,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.16461,
    "h": 274.1
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #373EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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