#372799#372799

#372799 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.175 H 280.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#372799
RGBrgb(55, 39, 153)
HSLhsl(248, 59%, 38%)
HSVhsv(248, 75%, 60%)
CMYKcmyk(64.1%, 74.5%, 0%, 40%)
CIE-LABlab(25.45, 40.90, -59.52)
CIE-LCHlch(25.45, 72.22, 304.50°)
OKLaboklab(37.52% 0.031 -0.1717)
OKLCHoklch(37.52% 0.175 280.2)
XYZxyz(8.0490, 4.5626, 30.5873)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372799 #899927
analogous
#275099 #372799 #702799
triadic
#372799 #993727 #279937
tetradic
#372799 #992750 #899927 #279970
square
#372799 #992750 #899927 #279970
split-complementary
#372799 #997027 #509927
monochromatic
#140E37 #251B68 #372799 #4933CA #7363D7

Accessibility & contrast

On white

10.98
#372799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372799
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372799#FFFFFF#000000##FFFFFF
##3727991.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372799;
/* rgb */ color: rgb(55, 39, 153);
/* oklch */ color: oklch(37.5% 0.175 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b63b8',
    500: '#372799',
    950: '#000000',
  },
}
SCSS
$custom: #372799;
$custom-light: #7b63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372799",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 248.421,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37516,
    "c": 0.17451,
    "h": 280.2
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#372799
secondary
#B0BD5F
accent
#E345CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372799

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

Preview Lab → · Contrast checker → · Palette generator →

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