#372AC5#372AC5

#372AC5 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.224 H 274.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#372AC5
RGBrgb(55, 42, 197)
HSLhsl(245, 65%, 47%)
HSVhsv(245, 79%, 77%)
CMYKcmyk(72.1%, 78.7%, 0%, 22.7%)
CIE-LABlab(30.64, 53.10, -77.32)
CIE-LCHlch(30.64, 93.80, 304.48°)
OKLaboklab(42.54% 0.0189 -0.2236)
OKLCHoklch(42.54% 0.224 274.8)
XYZxyz(12.4782, 6.4981, 53.4091)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AC5 #B8C52A
analogous
#2A6BC5 #372AC5 #852AC5
triadic
#372AC5 #C5372A #2AC537
tetradic
#372AC5 #C52A6B #B8C52A #2AC585
square
#372AC5 #C52A6B #B8C52A #2AC585
split-complementary
#372AC5 #C5852A #6BC52A
monochromatic
#1B1460 #291F93 #372AC5 #5D52DA #8D85E5

Accessibility & contrast

On white

9.13
#372AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#372AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AC5
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AC5#FFFFFF#000000##FFFFFF
##372AC51.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0041C2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #372ac5;
/* rgb */ color: rgb(55, 42, 197);
/* oklch */ color: oklch(42.5% 0.224 274.8);
Tailwind
colors: {
  custom: {
    50: '#8467d8',
    500: '#372ac5',
    950: '#000000',
  },
}
SCSS
$custom: #372ac5;
$custom-light: #8467d8;
$custom-dark: #000000;
JSON
{
  "hex": "#372ac5",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 245.032,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.22441,
    "h": 274.8
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#372AC5
secondary
#C7CE7D
accent
#E840DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #372AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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