#373AA2#373AA2

#373AA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.164 H 275.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#373AA2
RGBrgb(55, 58, 162)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 64%)
CMYKcmyk(66%, 64.2%, 0%, 36.5%)
CIE-LABlab(30.51, 32.44, -56.70)
CIE-LCHlch(30.51, 65.32, 299.77°)
OKLaboklab(41.42% 0.0152 -0.1635)
OKLCHoklch(41.42% 0.164 275.3)
XYZxyz(9.6080, 6.4461, 34.9133)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AA2 #A29F37
analogous
#376FA2 #373AA2 #6A37A2
triadic
#373AA2 #A2373A #3AA237
tetradic
#373AA2 #A2376F #A29F37 #37A26A
square
#373AA2 #A2376F #A29F37 #37A26A
split-complementary
#373AA2 #A26A37 #6FA237
monochromatic
#181947 #272A74 #373AA2 #5255C4 #8082D4

Accessibility & contrast

On white

9.17
#373AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#373AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AA2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AA2#FFFFFF#000000##FFFFFF
##373AA21.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #373aa2;
/* rgb */ color: rgb(55, 58, 162);
/* oklch */ color: oklch(41.4% 0.164 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b70be',
    500: '#373aa2',
    950: '#000000',
  },
}
SCSS
$custom: #373aa2;
$custom-light: #7b70be;
$custom-dark: #000000;
JSON
{
  "hex": "#373aa2",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 238.318,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.16417,
    "h": 275.3
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#373AA2
secondary
#BDBB78
accent
#D54FD9
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #373AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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