#372F95#372F95

#372F95 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.160 H 279.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#372F95
RGBrgb(55, 47, 149)
HSLhsl(245, 52%, 38%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(63.1%, 68.5%, 0%, 41.6%)
CIE-LABlab(26.78, 34.88, -54.89)
CIE-LCHlch(26.78, 65.03, 302.43°)
OKLaboklab(38.35% 0.0256 -0.1582)
OKLCHoklch(38.35% 0.16 279.2)
XYZxyz(8.0151, 5.0146, 28.9735)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F95 #8D952F
analogous
#2F5A95 #372F95 #6A2F95
triadic
#372F95 #95372F #2F9537
tetradic
#372F95 #952F5A #8D952F #2F956A
square
#372F95 #952F5A #8D952F #2F956A
split-complementary
#372F95 #956A2F #5A952F
monochromatic
#151238 #262066 #372F95 #493FC2 #756DD1

Accessibility & contrast

On white

10.48
#372F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#372F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F95
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F95#FFFFFF#000000##FFFFFF
##372F951.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372f95;
/* rgb */ color: rgb(55, 47, 149);
/* oklch */ color: oklch(38.3% 0.160 279.2);
Tailwind
colors: {
  custom: {
    50: '#7968b5',
    500: '#372f95',
    950: '#000000',
  },
}
SCSS
$custom: #372f95;
$custom-light: #7968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372f95",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 244.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.16026,
    "h": 279.2
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#372F95
secondary
#B2B867
accent
#DB4CD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372F95

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

Preview Lab → · Contrast checker → · Palette generator →

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