#373AAA#373AAA

#373AAA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.175 H 274.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#373AAA
RGBrgb(55, 58, 170)
HSLhsl(238, 51%, 44%)
HSVhsv(238, 68%, 67%)
CMYKcmyk(67.6%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.21, 35.23, -60.38)
CIE-LCHlch(31.21, 69.90, 300.26°)
OKLaboklab(42.14% 0.0145 -0.1742)
OKLCHoklch(42.14% 0.175 274.8)
XYZxyz(10.3419, 6.7397, 38.7783)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AAA #AAA737
analogous
#3774AA #373AAA #6E37AA
triadic
#373AAA #AA373A #3AAA37
tetradic
#373AAA #AA3774 #AAA737 #37AA6E
square
#373AAA #AA3774 #AAA737 #37AA6E
split-complementary
#373AAA #AA6E37 #74AA37
monochromatic
#191A4E #282A7C #373AAA #5659C8 #8486D7

Accessibility & contrast

On white

8.94
#373AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#373AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AAA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AAA#FFFFFF#000000##FFFFFF
##373AAA1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #373aaa;
/* rgb */ color: rgb(55, 58, 170);
/* oklch */ color: oklch(42.1% 0.175 274.8);
Tailwind
colors: {
  custom: {
    50: '#7d70c4',
    500: '#373aaa',
    950: '#000000',
  },
}
SCSS
$custom: #373aaa;
$custom-light: #7d70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#373aaa",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 238.435,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42142,
    "c": 0.17485,
    "h": 274.8
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#373AAA
secondary
#C1BF7C
accent
#D74DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #373AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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