#373BAB#373BAB

#373BAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.175 H 274.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#373BAB
RGBrgb(55, 59, 171)
HSLhsl(238, 51%, 44%)
HSVhsv(238, 68%, 67%)
CMYKcmyk(67.8%, 65.5%, 0%, 32.9%)
CIE-LABlab(31.53, 34.95, -60.44)
CIE-LCHlch(31.53, 69.82, 300.03°)
OKLaboklab(42.41% 0.0137 -0.1744)
OKLCHoklch(42.41% 0.175 274.5)
XYZxyz(10.4878, 6.8795, 39.2954)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373BAB #ABA737
analogous
#3775AB #373BAB #6D37AB
triadic
#373BAB #AB373B #3BAB37
tetradic
#373BAB #AB3775 #ABA737 #37AB6D
square
#373BAB #AB3775 #ABA737 #37AB6D
split-complementary
#373BAB #AB6D37 #75AB37
monochromatic
#191B4E #282B7D #373BAB #565AC9 #8588D8

Accessibility & contrast

On white

8.84
#373BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#373BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373BAB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373BAB#FFFFFF#000000##FFFFFF
##373BAB1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373bab;
/* rgb */ color: rgb(55, 59, 171);
/* oklch */ color: oklch(42.4% 0.175 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d71c5',
    500: '#373bab',
    950: '#000000',
  },
}
SCSS
$custom: #373bab;
$custom-light: #7d71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#373bab",
  "rgb": {
    "r": 55,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 237.931,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.17498,
    "h": 274.5
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #373BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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