#373AB8#373AB8

#373AB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.193 H 273.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#373AB8
RGBrgb(55, 58, 184)
HSLhsl(239, 54%, 47%)
HSVhsv(239, 70%, 72%)
CMYKcmyk(70.1%, 68.5%, 0%, 27.8%)
CIE-LABlab(32.48, 40.04, -66.63)
CIE-LCHlch(32.48, 77.74, 301.00°)
OKLaboklab(43.45% 0.013 -0.1926)
OKLCHoklch(43.45% 0.193 273.9)
XYZxyz(11.7375, 7.2979, 46.1282)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AB8 #B8B537
analogous
#377AB8 #373AB8 #7537B8
triadic
#373AB8 #B8373A #3AB837
tetradic
#373AB8 #B8377A #B8B537 #37B875
square
#373AB8 #B8377A #B8B537 #37B875
split-complementary
#373AB8 #B87537 #7AB837
monochromatic
#1B1C5A #292B89 #373AB8 #5D60CF #8D8EDD

Accessibility & contrast

On white

8.54
#373AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#373AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AB8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AB8#FFFFFF#000000##FFFFFF
##373AB81.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #373ab8;
/* rgb */ color: rgb(55, 58, 184);
/* oklch */ color: oklch(43.5% 0.193 273.9);
Tailwind
colors: {
  custom: {
    50: '#8071ce',
    500: '#373ab8',
    950: '#000000',
  },
}
SCSS
$custom: #373ab8;
$custom-light: #8071ce;
$custom-dark: #000000;
JSON
{
  "hex": "#373ab8",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 238.605,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.193,
    "h": 273.9
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#373AB8
secondary
#C7C684
accent
#DA4ADD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #373AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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