#372BA8#372BA8

#372BA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.189 H 277.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#372BA8
RGBrgb(55, 43, 168)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 74%, 66%)
CMYKcmyk(67.3%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.75, 43.49, -64.84)
CIE-LCHlch(27.75, 78.08, 303.85°)
OKLaboklab(39.6% 0.0251 -0.1873)
OKLCHoklch(39.6% 0.189 277.6)
XYZxyz(9.5050, 5.3663, 37.5731)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA8 #9CA82B
analogous
#2B5EA8 #372BA8 #762BA8
triadic
#372BA8 #A8372B #2BA837
tetradic
#372BA8 #A82B5E #9CA82B #2BA876
square
#372BA8 #A82B5E #9CA82B #2BA876
split-complementary
#372BA8 #A8762B #5EA82B
monochromatic
#171247 #271F77 #372BA8 #4F42CF #7C72DB

Accessibility & contrast

On white

10.13
#372BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#372BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA8
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA8#FFFFFF#000000##FFFFFF
##372BA81.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ba8;
/* rgb */ color: rgb(55, 43, 168);
/* oklch */ color: oklch(39.6% 0.189 277.6);
Tailwind
colors: {
  custom: {
    50: '#7e66c3',
    500: '#372ba8',
    950: '#000000',
  },
}
SCSS
$custom: #372ba8;
$custom-light: #7e66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba8",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 245.76,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.18898,
    "h": 277.6
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#372BA8
secondary
#BAC26C
accent
#E245D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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