#372F9B#372F9B

#372F9B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.168 H 278.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#372F9B
RGBrgb(55, 47, 155)
HSLhsl(244, 53%, 40%)
HSVhsv(244, 70%, 61%)
CMYKcmyk(64.5%, 69.7%, 0%, 39.2%)
CIE-LABlab(27.33, 36.90, -57.66)
CIE-LCHlch(27.33, 68.45, 302.61°)
OKLaboklab(38.92% 0.0247 -0.1663)
OKLCHoklch(38.92% 0.168 278.5)
XYZxyz(8.5066, 5.2111, 31.5616)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F9B #939B2F
analogous
#2F5D9B #372F9B #6D2F9B
triadic
#372F9B #9B372F #2F9B37
tetradic
#372F9B #9B2F5D #939B2F #2F9B6D
square
#372F9B #9B2F5D #939B2F #2F9B6D
split-complementary
#372F9B #9B6D2F #5D9B2F
monochromatic
#16133D #26216C #372F9B #4B42C6 #7871D4

Accessibility & contrast

On white

10.28
#372F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#372F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F9B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F9B#FFFFFF#000000##FFFFFF
##372F9B1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372f9b;
/* rgb */ color: rgb(55, 47, 155);
/* oklch */ color: oklch(38.9% 0.168 278.5);
Tailwind
colors: {
  custom: {
    50: '#7b68b9',
    500: '#372f9b',
    950: '#000000',
  },
}
SCSS
$custom: #372f9b;
$custom-light: #7b68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#372f9b",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 244.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.16814,
    "h": 278.5
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#372F9B
secondary
#B5BB6A
accent
#DD4BD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #372F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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