#372E9D#372E9D

#372E9D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.172 H 278.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#372E9D
RGBrgb(55, 46, 157)
HSLhsl(245, 55%, 40%)
HSVhsv(245, 71%, 62%)
CMYKcmyk(65%, 70.7%, 0%, 38.4%)
CIE-LABlab(27.30, 38.16, -58.93)
CIE-LCHlch(27.30, 70.21, 302.93°)
OKLaboklab(38.95% 0.0252 -0.17)
OKLCHoklch(38.95% 0.172 278.4)
XYZxyz(8.6364, 5.1998, 32.4403)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E9D #949D2E
analogous
#2E5C9D #372E9D #6F2E9D
triadic
#372E9D #9D372E #2E9D37
tetradic
#372E9D #9D2E5C #949D2E #2E9D6F
square
#372E9D #9D2E5C #949D2E #2E9D6F
split-complementary
#372E9D #9D6F2E #5C9D2E
monochromatic
#16123E #26206E #372E9D #4C41C7 #7870D5

Accessibility & contrast

On white

10.29
#372E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372E9D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E9D#FFFFFF#000000##FFFFFF
##372E9D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372e9d;
/* rgb */ color: rgb(55, 46, 157);
/* oklch */ color: oklch(39.0% 0.172 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b68bb',
    500: '#372e9d',
    950: '#000000',
  },
}
SCSS
$custom: #372e9d;
$custom-light: #7b68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#372e9d",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 244.865,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3895,
    "c": 0.17188,
    "h": 278.4
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#372E9D
secondary
#B6BD6A
accent
#DE4AD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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