#373EA8#373EA8

#373EA8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.167 H 274.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#373EA8
RGBrgb(55, 62, 168)
HSLhsl(236, 51%, 44%)
HSVhsv(236, 67%, 66%)
CMYKcmyk(67.3%, 63.1%, 0%, 34.1%)
CIE-LABlab(32.00, 31.99, -57.88)
CIE-LCHlch(32.00, 66.14, 298.93°)
OKLaboklab(42.67% 0.0115 -0.1669)
OKLCHoklch(42.67% 0.167 274)
XYZxyz(10.3637, 7.0837, 37.8593)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA8 #A8A137
analogous
#3776A8 #373EA8 #6837A8
triadic
#373EA8 #A8373E #3EA837
tetradic
#373EA8 #A83776 #A8A137 #37A868
square
#373EA8 #A83776 #A8A137 #37A868
split-complementary
#373EA8 #A86837 #76A837
monochromatic
#191C4C #282D7A #373EA8 #555CC7 #8388D6

Accessibility & contrast

On white

8.69
#373EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#373EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373EA8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA8#FFFFFF#000000##FFFFFF
##373EA81.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373ea8;
/* rgb */ color: rgb(55, 62, 168);
/* oklch */ color: oklch(42.7% 0.167 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c73c3',
    500: '#373ea8',
    950: '#000000',
  },
}
SCSS
$custom: #373ea8;
$custom-light: #7c73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea8",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 236.283,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.16732,
    "h": 274
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#373EA8
secondary
#C0BC7B
accent
#D14EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #373EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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