#372FAB#372FAB

#372FAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.189 H 276.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#372FAB
RGBrgb(55, 47, 171)
HSLhsl(244, 57%, 43%)
HSVhsv(244, 73%, 67%)
CMYKcmyk(67.8%, 72.5%, 0%, 32.9%)
CIE-LABlab(28.86, 42.20, -64.82)
CIE-LCHlch(28.86, 77.35, 303.06°)
OKLaboklab(40.48% 0.022 -0.1873)
OKLCHoklch(40.48% 0.189 276.7)
XYZxyz(9.9404, 5.7847, 39.1129)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FAB #A3AB2F
analogous
#2F65AB #372FAB #752FAB
triadic
#372FAB #AB372F #2FAB37
tetradic
#372FAB #AB2F65 #A3AB2F #2FAB75
square
#372FAB #AB2F65 #A3AB2F #2FAB75
split-complementary
#372FAB #AB752F #65AB2F
monochromatic
#18154B #28227B #372FAB #524ACD #807ADA

Accessibility & contrast

On white

9.73
#372FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#372FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FAB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FAB#FFFFFF#000000##FFFFFF
##372FAB1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372fab;
/* rgb */ color: rgb(55, 47, 171);
/* oklch */ color: oklch(40.5% 0.189 276.7);
Tailwind
colors: {
  custom: {
    50: '#7e69c5',
    500: '#372fab',
    950: '#000000',
  },
}
SCSS
$custom: #372fab;
$custom-light: #7e69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#372fab",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 243.871,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.18855,
    "h": 276.7
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#372FAB
secondary
#BEC373
accent
#E048D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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