#372E95#372E95

#372E95 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.161 H 279.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#372E95
RGBrgb(55, 46, 149)
HSLhsl(245, 53%, 38%)
HSVhsv(245, 69%, 58%)
CMYKcmyk(63.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(26.55, 35.49, -55.26)
CIE-LCHlch(26.55, 65.68, 302.71°)
OKLaboklab(38.19% 0.0264 -0.1593)
OKLCHoklch(38.19% 0.161 279.4)
XYZxyz(7.9756, 4.9355, 28.9603)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E95 #8C952E
analogous
#2E5895 #372E95 #6A2E95
triadic
#372E95 #95372E #2E9537
tetradic
#372E95 #952E58 #8C952E #2E956A
square
#372E95 #952E58 #8C952E #2E956A
split-complementary
#372E95 #956A2E #58952E
monochromatic
#141137 #262066 #372E95 #493DC3 #756CD2

Accessibility & contrast

On white

10.57
#372E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#372E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E95
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E95#FFFFFF#000000##FFFFFF
##372E951.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372e95;
/* rgb */ color: rgb(55, 46, 149);
/* oklch */ color: oklch(38.2% 0.161 279.4);
Tailwind
colors: {
  custom: {
    50: '#7968b5',
    500: '#372e95',
    950: '#000000',
  },
}
SCSS
$custom: #372e95;
$custom-light: #7968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372e95",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 245.243,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38185,
    "c": 0.16146,
    "h": 279.4
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#372E95
secondary
#B1B966
accent
#DC4CD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372E95

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

Preview Lab → · Contrast checker → · Palette generator →

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