#373EA5#373EA5

#373EA5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.163 H 274.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#373EA5
RGBrgb(55, 62, 165)
HSLhsl(236, 50%, 43%)
HSVhsv(236, 67%, 65%)
CMYKcmyk(66.7%, 62.4%, 0%, 35.3%)
CIE-LABlab(31.75, 30.93, -56.49)
CIE-LCHlch(31.75, 64.40, 298.70°)
OKLaboklab(42.4% 0.0117 -0.1628)
OKLCHoklch(42.4% 0.163 274.1)
XYZxyz(10.0875, 6.9732, 36.4044)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373EA5 #A59E37
analogous
#3775A5 #373EA5 #6737A5
triadic
#373EA5 #A5373E #3EA537
tetradic
#373EA5 #A53775 #A59E37 #37A567
square
#373EA5 #A53775 #A59E37 #37A567
split-complementary
#373EA5 #A56737 #75A537
monochromatic
#181C49 #282D77 #373EA5 #535BC6 #8187D5

Accessibility & contrast

On white

8.77
#373EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#373EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373EA5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373EA5#FFFFFF#000000##FFFFFF
##373EA51.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373ea5;
/* rgb */ color: rgb(55, 62, 165);
/* oklch */ color: oklch(42.4% 0.163 274.1);
Tailwind
colors: {
  custom: {
    50: '#7b73c1',
    500: '#373ea5',
    950: '#000000',
  },
}
SCSS
$custom: #373ea5;
$custom-light: #7b73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#373ea5",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 236.182,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.16325,
    "h": 274.1
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#373EA5
secondary
#BFBA79
accent
#D14EDA
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #373EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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