#373AA6#373AA6

#373AA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.170 H 275.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#373AA6
RGBrgb(55, 58, 166)
HSLhsl(238, 50%, 43%)
HSVhsv(238, 67%, 65%)
CMYKcmyk(66.9%, 65.1%, 0%, 34.9%)
CIE-LABlab(30.86, 33.83, -58.55)
CIE-LCHlch(30.86, 67.62, 300.02°)
OKLaboklab(41.78% 0.0149 -0.1689)
OKLCHoklch(41.78% 0.17 275)
XYZxyz(9.9693, 6.5906, 36.8157)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AA6 #A6A337
analogous
#3771A6 #373AA6 #6B37A6
triadic
#373AA6 #A6373A #3AA637
tetradic
#373AA6 #A63771 #A6A337 #37A66B
square
#373AA6 #A63771 #A6A337 #37A66B
split-complementary
#373AA6 #A66B37 #71A637
monochromatic
#191A4A #282A78 #373AA6 #5457C6 #8284D6

Accessibility & contrast

On white

9.06
#373AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#373AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AA6
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AA6#FFFFFF#000000##FFFFFF
##373AA61.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #373aa6;
/* rgb */ color: rgb(55, 58, 166);
/* oklch */ color: oklch(41.8% 0.170 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c70c1',
    500: '#373aa6',
    950: '#000000',
  },
}
SCSS
$custom: #373aa6;
$custom-light: #7c70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#373aa6",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 238.378,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41778,
    "c": 0.16954,
    "h": 275
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#373AA6
secondary
#BFBD7A
accent
#D64EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #373AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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