#372895#372895

#372895 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.168 H 280.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#372895
RGBrgb(55, 40, 149)
HSLhsl(248, 58%, 37%)
HSVhsv(248, 73%, 58%)
CMYKcmyk(63.1%, 73.2%, 0%, 41.6%)
CIE-LABlab(25.26, 39.05, -57.38)
CIE-LCHlch(25.26, 69.41, 304.24°)
OKLaboklab(37.26% 0.0311 -0.1655)
OKLCHoklch(37.26% 0.168 280.7)
XYZxyz(7.7574, 4.4992, 28.8876)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372895 #869528
analogous
#285095 #372895 #6E2895
triadic
#372895 #953728 #289537
tetradic
#372895 #952850 #869528 #28956E
square
#372895 #952850 #869528 #28956E
split-complementary
#372895 #956E28 #509528
monochromatic
#130E35 #251B65 #372895 #4935C5 #7262D5

Accessibility & contrast

On white

11.05
#372895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372895
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372895#FFFFFF#000000##FFFFFF
##3728951.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372895;
/* rgb */ color: rgb(55, 40, 149);
/* oklch */ color: oklch(37.3% 0.168 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a64b5',
    500: '#372895',
    950: '#000000',
  },
}
SCSS
$custom: #372895;
$custom-light: #7a64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372895",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 248.257,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.16838,
    "h": 280.7
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#372895
secondary
#AEBB5E
accent
#E147CC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372895

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

Preview Lab → · Contrast checker → · Palette generator →

#372895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva