#373AB1#373AB1

#373AB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.184 H 274.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#373AB1
RGBrgb(55, 58, 177)
HSLhsl(239, 53%, 45%)
HSVhsv(239, 69%, 69%)
CMYKcmyk(68.9%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.83, 37.65, -63.53)
CIE-LCHlch(31.83, 73.85, 300.65°)
OKLaboklab(42.79% 0.0138 -0.1835)
OKLCHoklch(42.79% 0.184 274.3)
XYZxyz(11.0218, 7.0116, 42.3590)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AB1 #B1AE37
analogous
#3777B1 #373AB1 #7137B1
triadic
#373AB1 #B1373A #3AB137
tetradic
#373AB1 #B13777 #B1AE37 #37B171
square
#373AB1 #B13777 #B1AE37 #37B171
split-complementary
#373AB1 #B17137 #77B137
monochromatic
#1A1B54 #282B82 #373AB1 #5A5CCC #888ADA

Accessibility & contrast

On white

8.74
#373AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#373AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AB1
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AB1#FFFFFF#000000##FFFFFF
##373AB11.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373ab1;
/* rgb */ color: rgb(55, 58, 177);
/* oklch */ color: oklch(42.8% 0.184 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e71c9',
    500: '#373ab1',
    950: '#000000',
  },
}
SCSS
$custom: #373ab1;
$custom-light: #7e71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#373ab1",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 238.525,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.18401,
    "h": 274.3
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#373AB1
secondary
#C4C280
accent
#D84CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #373AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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