#373AB2#373AB2

#373AB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.185 H 274.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#373AB2
RGBrgb(55, 58, 178)
HSLhsl(239, 53%, 46%)
HSVhsv(239, 69%, 70%)
CMYKcmyk(69.1%, 67.4%, 0%, 30.2%)
CIE-LABlab(31.92, 37.99, -63.98)
CIE-LCHlch(31.92, 74.40, 300.70°)
OKLaboklab(42.88% 0.0137 -0.1848)
OKLCHoklch(42.88% 0.185 274.2)
XYZxyz(11.1218, 7.0517, 42.8858)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AB2 #B2AF37
analogous
#3777B2 #373AB2 #7237B2
triadic
#373AB2 #B2373A #3AB237
tetradic
#373AB2 #B23777 #B2AF37 #37B272
square
#373AB2 #B23777 #B2AF37 #37B272
split-complementary
#373AB2 #B27237 #77B237
monochromatic
#1A1C54 #292B83 #373AB2 #5A5DCC #898BDB

Accessibility & contrast

On white

8.71
#373AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#373AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AB2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AB2#FFFFFF#000000##FFFFFF
##373AB21.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373ab2;
/* rgb */ color: rgb(55, 58, 178);
/* oklch */ color: oklch(42.9% 0.185 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e71ca',
    500: '#373ab2',
    950: '#000000',
  },
}
SCSS
$custom: #373ab2;
$custom-light: #7e71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#373ab2",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 238.537,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.18531,
    "h": 274.2
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#373AB2
secondary
#C5C380
accent
#D94CDC
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #373AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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