#373397#373397

#373397 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.158 H 278.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#373397
RGBrgb(55, 51, 151)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 66%, 59%)
CMYKcmyk(63.6%, 66.2%, 0%, 40.8%)
CIE-LABlab(27.88, 33.07, -54.31)
CIE-LCHlch(27.88, 63.58, 301.34°)
OKLaboklab(39.21% 0.022 -0.1565)
OKLCHoklch(39.21% 0.158 278)
XYZxyz(8.3435, 5.4136, 29.8774)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373397 #939733
analogous
#336197 #373397 #693397
triadic
#373397 #973733 #339737
tetradic
#373397 #973361 #939733 #339769
square
#373397 #973361 #939733 #339769
split-complementary
#373397 #976933 #619733
monochromatic
#16143C #262469 #373397 #4B47C1 #7874D0

Accessibility & contrast

On white

10.08
#373397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#373397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373397
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373397#FFFFFF#000000##FFFFFF
##3733971.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #373397;
/* rgb */ color: rgb(55, 51, 151);
/* oklch */ color: oklch(39.2% 0.158 278.0);
Tailwind
colors: {
  custom: {
    50: '#796bb6',
    500: '#373397',
    950: '#000000',
  },
}
SCSS
$custom: #373397;
$custom-light: #796bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#373397",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 242.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.15801,
    "h": 278
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#373397
secondary
#B5B86D
accent
#D94FD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #373397

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

Preview Lab → · Contrast checker → · Palette generator →

#373397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva