#372EC2#372EC2

#372EC2 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.217 H 274.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#372EC2
RGBrgb(55, 46, 194)
HSLhsl(244, 62%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(71.6%, 76.3%, 0%, 23.9%)
CIE-LABlab(31.02, 50.14, -74.93)
CIE-LCHlch(31.02, 90.16, 303.79°)
OKLaboklab(42.71% 0.0179 -0.2167)
OKLCHoklch(42.71% 0.217 274.7)
XYZxyz(12.2869, 6.6601, 51.6665)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EC2 #B9C22E
analogous
#2E6FC2 #372EC2 #812EC2
triadic
#372EC2 #C2372E #2EC237
tetradic
#372EC2 #C22E6F #B9C22E #2EC281
square
#372EC2 #C22E6F #B9C22E #2EC281
split-complementary
#372EC2 #C2812E #6FC22E
monochromatic
#1B175F #292291 #372EC2 #5E56D7 #8D88E3

Accessibility & contrast

On white

9.00
#372EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#372EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372EC2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EC2#FFFFFF#000000##FFFFFF
##372EC21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0042BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #372ec2;
/* rgb */ color: rgb(55, 46, 194);
/* oklch */ color: oklch(42.7% 0.217 274.7);
Tailwind
colors: {
  custom: {
    50: '#836ad6',
    500: '#372ec2',
    950: '#000000',
  },
}
SCSS
$custom: #372ec2;
$custom-light: #836ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#372ec2",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 243.649,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.21743,
    "h": 274.7
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#372EC2
secondary
#C8CC7F
accent
#E543DB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #372EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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