#373BAC#373BAC

#373BAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.176 H 274.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#373BAC
RGBrgb(55, 59, 172)
HSLhsl(238, 52%, 45%)
HSVhsv(238, 68%, 67%)
CMYKcmyk(68%, 65.7%, 0%, 32.5%)
CIE-LABlab(31.62, 35.29, -60.90)
CIE-LCHlch(31.62, 70.39, 300.09°)
OKLaboklab(42.5% 0.0136 -0.1758)
OKLCHoklch(42.5% 0.176 274.4)
XYZxyz(10.5834, 6.9178, 39.7992)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373BAC #ACA837
analogous
#3775AC #373BAC #6E37AC
triadic
#373BAC #AC373B #3BAC37
tetradic
#373BAC #AC3775 #ACA837 #37AC6E
square
#373BAC #AC3775 #ACA837 #37AC6E
split-complementary
#373BAC #AC6E37 #75AC37
monochromatic
#191B4F #282B7E #373BAC #575BC9 #8588D8

Accessibility & contrast

On white

8.81
#373BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #373BAC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373BAC#FFFFFF#000000##FFFFFF
##373BAC1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373bac;
/* rgb */ color: rgb(55, 59, 172);
/* oklch */ color: oklch(42.5% 0.176 274.4);
Tailwind
colors: {
  custom: {
    50: '#7d71c6',
    500: '#373bac',
    950: '#000000',
  },
}
SCSS
$custom: #373bac;
$custom-light: #7d71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#373bac",
  "rgb": {
    "r": 55,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 237.949,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.1763,
    "h": 274.4
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #373BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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