#373B98#373B98

#373B98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.149 H 275.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#373B98
RGBrgb(55, 59, 152)
HSLhsl(238, 47%, 41%)
HSVhsv(238, 64%, 60%)
CMYKcmyk(63.8%, 61.2%, 0%, 40.4%)
CIE-LABlab(29.93, 28.28, -51.58)
CIE-LCHlch(29.93, 58.82, 298.73°)
OKLaboklab(40.73% 0.0148 -0.1484)
OKLCHoklch(40.73% 0.149 275.7)
XYZxyz(8.8052, 6.2064, 30.4336)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373B98 #989437
analogous
#376B98 #373B98 #633798
triadic
#373B98 #98373B #3B9837
tetradic
#373B98 #98376B #989437 #379863
square
#373B98 #98376B #989437 #379863
split-complementary
#373B98 #986337 #6B9837
monochromatic
#16183E #272A6B #373B98 #4D52BF #7A7ECF

Accessibility & contrast

On white

9.37
#373B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#373B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373B98
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373B98#FFFFFF#000000##FFFFFF
##373B981.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #373b98;
/* rgb */ color: rgb(55, 59, 152);
/* oklch */ color: oklch(40.7% 0.149 275.7);
Tailwind
colors: {
  custom: {
    50: '#7971b7',
    500: '#373b98',
    950: '#000000',
  },
}
SCSS
$custom: #373b98;
$custom-light: #7971b7;
$custom-dark: #000000;
JSON
{
  "hex": "#373b98",
  "rgb": {
    "r": 55,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 237.526,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.14916,
    "h": 275.7
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#373B98
secondary
#B8B573
accent
#D151D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373B98

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

Preview Lab → · Contrast checker → · Palette generator →

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