#373AAF#373AAF

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

Color values

HEX#373AAF
RGBrgb(55, 58, 175)
HSLhsl(239, 52%, 45%)
HSVhsv(239, 69%, 69%)
CMYKcmyk(68.6%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.65, 36.96, -62.63)
CIE-LCHlch(31.65, 72.72, 300.54°)
OKLaboklab(42.6% 0.014 -0.1809)
OKLCHoklch(42.6% 0.181 274.4)
XYZxyz(10.8239, 6.9325, 41.3168)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373AAF #AFAC37
analogous
#3776AF #373AAF #7037AF
triadic
#373AAF #AF373A #3AAF37
tetradic
#373AAF #AF3776 #AFAC37 #37AF70
square
#373AAF #AF3776 #AFAC37 #37AF70
split-complementary
#373AAF #AF7037 #76AF37
monochromatic
#1A1B52 #282B80 #373AAF #595BCB #8789D9

Accessibility & contrast

On white

8.80
#373AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#373AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373AAF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373AAF#FFFFFF#000000##FFFFFF
##373AAF1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #373aaf;
/* rgb */ color: rgb(55, 58, 175);
/* oklch */ color: oklch(42.6% 0.181 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e71c8',
    500: '#373aaf',
    950: '#000000',
  },
}
SCSS
$custom: #373aaf;
$custom-light: #7e71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#373aaf",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 238.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.18141,
    "h": 274.4
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#373AAF
secondary
#C3C27F
accent
#D84CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #373AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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