#373AB5#373AB5

#373AB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.189 H 274.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#373AB5
RGBrgb(55, 58, 181)
HSLhsl(239, 53%, 46%)
HSVhsv(239, 70%, 71%)
CMYKcmyk(69.6%, 68%, 0%, 29%)
CIE-LABlab(32.20, 39.02, -65.31)
CIE-LCHlch(32.20, 76.08, 300.86°)
OKLaboklab(43.17% 0.0134 -0.1887)
OKLCHoklch(43.17% 0.189 274.1)
XYZxyz(11.4263, 7.1735, 44.4895)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AB5 #B5B237
analogous
#3779B5 #373AB5 #7337B5
triadic
#373AB5 #B5373A #3AB537
tetradic
#373AB5 #B53779 #B5B237 #37B573
square
#373AB5 #B53779 #B5B237 #37B573
split-complementary
#373AB5 #B57337 #79B537
monochromatic
#1A1C57 #292B86 #373AB5 #5C5FCD #8B8DDC

Accessibility & contrast

On white

8.62
#373AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#373AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AB5
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AB5#FFFFFF#000000##FFFFFF
##373AB51.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #373ab5;
/* rgb */ color: rgb(55, 58, 181);
/* oklch */ color: oklch(43.2% 0.189 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f71cc',
    500: '#373ab5',
    950: '#000000',
  },
}
SCSS
$custom: #373ab5;
$custom-light: #7f71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#373ab5",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 238.571,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.18916,
    "h": 274.1
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#373AB5
secondary
#C6C482
accent
#D94BDD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #373AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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