#372883#372883

#372883 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.145 H 283.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#372883
RGBrgb(55, 40, 131)
HSLhsl(250, 53%, 34%)
HSVhsv(250, 69%, 51%)
CMYKcmyk(58%, 69.5%, 0%, 48.6%)
CIE-LABlab(23.57, 33.19, -48.96)
CIE-LCHlch(23.57, 59.15, 304.13°)
OKLaboklab(35.53% 0.0344 -0.1408)
OKLCHoklch(35.53% 0.145 283.7)
XYZxyz(6.4298, 3.9681, 21.8954)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372883 #748328
analogous
#284683 #372883 #642883
triadic
#372883 #833728 #288337
tetradic
#372883 #832846 #748328 #288364
square
#372883 #832846 #748328 #288364
split-complementary
#372883 #836428 #468328
monochromatic
#100B25 #231A54 #372883 #4B36B2 #6C59CC

Accessibility & contrast

On white

11.71
#372883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372883
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372883#FFFFFF#000000##FFFFFF
##3728831.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#113F52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372883;
/* rgb */ color: rgb(55, 40, 131);
/* oklch */ color: oklch(35.5% 0.145 283.7);
Tailwind
colors: {
  custom: {
    50: '#7663a8',
    500: '#372883',
    950: '#000000',
  },
}
SCSS
$custom: #372883;
$custom-light: #7663a8;
$custom-dark: #000000;
JSON
{
  "hex": "#372883",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 249.89,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.14494,
    "h": 283.7
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#372883
secondary
#A2B155
accent
#DD4BC5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372883

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

Preview Lab → · Contrast checker → · Palette generator →

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