#372E94#372E94

#372E94 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.160 H 279.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#372E94
RGBrgb(55, 46, 148)
HSLhsl(245, 53%, 38%)
HSVhsv(245, 69%, 58%)
CMYKcmyk(62.8%, 68.9%, 0%, 42%)
CIE-LABlab(26.46, 35.16, -54.79)
CIE-LCHlch(26.46, 65.10, 302.69°)
OKLaboklab(38.09% 0.0266 -0.1579)
OKLCHoklch(38.09% 0.16 279.5)
XYZxyz(7.8961, 4.9037, 28.5416)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E94 #8B942E
analogous
#2E5894 #372E94 #6A2E94
triadic
#372E94 #94372E #2E9437
tetradic
#372E94 #942E58 #8B942E #2E946A
square
#372E94 #942E58 #8B942E #2E946A
split-complementary
#372E94 #946A2E #58942E
monochromatic
#141137 #261F65 #372E94 #483DC3 #746BD1

Accessibility & contrast

On white

10.60
#372E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#372E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E94
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E94#FFFFFF#000000##FFFFFF
##372E941.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372e94;
/* rgb */ color: rgb(55, 46, 148);
/* oklch */ color: oklch(38.1% 0.160 279.5);
Tailwind
colors: {
  custom: {
    50: '#7968b4',
    500: '#372e94',
    950: '#000000',
  },
}
SCSS
$custom: #372e94;
$custom-light: #7968b4;
$custom-dark: #000000;
JSON
{
  "hex": "#372e94",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 245.294,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.16014,
    "h": 279.5
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#372E94
secondary
#B1B866
accent
#DC4CCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372E94

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

Preview Lab → · Contrast checker → · Palette generator →

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