#373AA5#373AA5

#373AA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.168 H 275.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#373AA5
RGBrgb(55, 58, 165)
HSLhsl(238, 50%, 43%)
HSVhsv(238, 67%, 65%)
CMYKcmyk(66.7%, 64.8%, 0%, 35.3%)
CIE-LABlab(30.77, 33.49, -58.09)
CIE-LCHlch(30.77, 67.05, 299.96°)
OKLaboklab(41.69% 0.0149 -0.1675)
OKLCHoklch(41.69% 0.168 275.1)
XYZxyz(9.8779, 6.5541, 36.3345)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AA5 #A5A237
analogous
#3771A5 #373AA5 #6B37A5
triadic
#373AA5 #A5373A #3AA537
tetradic
#373AA5 #A53771 #A5A237 #37A56B
square
#373AA5 #A53771 #A5A237 #37A56B
split-complementary
#373AA5 #A56B37 #71A537
monochromatic
#181A49 #282A77 #373AA5 #5357C6 #8184D5

Accessibility & contrast

On white

9.09
#373AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#373AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AA5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AA5#FFFFFF#000000##FFFFFF
##373AA51.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #373aa5;
/* rgb */ color: rgb(55, 58, 165);
/* oklch */ color: oklch(41.7% 0.168 275.1);
Tailwind
colors: {
  custom: {
    50: '#7c70c1',
    500: '#373aa5',
    950: '#000000',
  },
}
SCSS
$custom: #373aa5;
$custom-light: #7c70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#373aa5",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 238.364,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.1682,
    "h": 275.1
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#373AA5
secondary
#BFBD79
accent
#D64EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #373AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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