#372B95#372B95

#372B95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.165 H 280.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#372B95
RGBrgb(55, 43, 149)
HSLhsl(247, 55%, 38%)
HSVhsv(247, 71%, 58%)
CMYKcmyk(63.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.89, 37.30, -56.34)
CIE-LCHlch(25.89, 67.57, 303.51°)
OKLaboklab(37.71% 0.0288 -0.1624)
OKLCHoklch(37.71% 0.165 280.1)
XYZxyz(7.8625, 4.7093, 28.9226)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B95 #89952B
analogous
#2B5495 #372B95 #6C2B95
triadic
#372B95 #95372B #2B9537
tetradic
#372B95 #952B54 #89952B #2B956C
square
#372B95 #952B54 #89952B #2B956C
split-complementary
#372B95 #956C2B #54952B
monochromatic
#141036 #251D66 #372B95 #4939C4 #7367D3

Accessibility & contrast

On white

10.81
#372B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#372B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B95
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B95#FFFFFF#000000##FFFFFF
##372B951.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372b95;
/* rgb */ color: rgb(55, 43, 149);
/* oklch */ color: oklch(37.7% 0.165 280.1);
Tailwind
colors: {
  custom: {
    50: '#7a66b5',
    500: '#372b95',
    950: '#000000',
  },
}
SCSS
$custom: #372b95;
$custom-light: #7a66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372b95",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 246.792,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37711,
    "c": 0.16499,
    "h": 280.1
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#372B95
secondary
#B0BA62
accent
#DF49CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372B95

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

Preview Lab → · Contrast checker → · Palette generator →

#372B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva