#372995#372995

#372995 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.167 H 280.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#372995
RGBrgb(55, 41, 149)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 72%, 58%)
CMYKcmyk(63.1%, 72.5%, 0%, 41.6%)
CIE-LABlab(25.46, 38.48, -57.04)
CIE-LCHlch(25.46, 68.80, 304.00°)
OKLaboklab(37.41% 0.0304 -0.1645)
OKLCHoklch(37.41% 0.167 280.5)
XYZxyz(7.7916, 4.5674, 28.8990)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372995 #879529
analogous
#295195 #372995 #6D2995
triadic
#372995 #953729 #299537
tetradic
#372995 #952951 #879529 #29956D
square
#372995 #952951 #879529 #29956D
split-complementary
#372995 #956D29 #519529
monochromatic
#140F35 #251C65 #372995 #4936C5 #7364D4

Accessibility & contrast

On white

10.97
#372995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#372995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372995
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372995#FFFFFF#000000##FFFFFF
##3729951.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372995;
/* rgb */ color: rgb(55, 41, 149);
/* oklch */ color: oklch(37.4% 0.167 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a64b5',
    500: '#372995',
    950: '#000000',
  },
}
SCSS
$custom: #372995;
$custom-light: #7a64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372995",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 247.778,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.16727,
    "h": 280.5
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#372995
secondary
#AFBA60
accent
#E048CC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372995

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

Preview Lab → · Contrast checker → · Palette generator →

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