#373BA4#373BA4

#373BA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.166 H 274.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#373BA4
RGBrgb(55, 59, 164)
HSLhsl(238, 50%, 43%)
HSVhsv(238, 66%, 64%)
CMYKcmyk(66.5%, 64%, 0%, 35.7%)
CIE-LABlab(30.92, 32.50, -57.23)
CIE-LCHlch(30.92, 65.81, 299.59°)
OKLaboklab(41.78% 0.0142 -0.165)
OKLCHoklch(41.78% 0.166 274.9)
XYZxyz(9.8381, 6.6196, 35.8740)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373BA4 #A4A037
analogous
#3771A4 #373BA4 #6937A4
triadic
#373BA4 #A4373B #3BA437
tetradic
#373BA4 #A43771 #A4A037 #37A469
square
#373BA4 #A43771 #A4A037 #37A469
split-complementary
#373BA4 #A46937 #71A437
monochromatic
#181A48 #282B76 #373BA4 #5357C5 #8184D5

Accessibility & contrast

On white

9.04
#373BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#373BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373BA4
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373BA4#FFFFFF#000000##FFFFFF
##373BA41.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #373ba4;
/* rgb */ color: rgb(55, 59, 164);
/* oklch */ color: oklch(41.8% 0.166 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b71c0',
    500: '#373ba4',
    950: '#000000',
  },
}
SCSS
$custom: #373ba4;
$custom-light: #7b71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#373ba4",
  "rgb": {
    "r": 55,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 237.798,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.16563,
    "h": 274.9
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#373BA4
secondary
#BEBC79
accent
#D44FD9
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #373BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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