#372BAC#372BAC

#372BAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.194 H 277.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#372BAC
RGBrgb(55, 43, 172)
HSLhsl(246, 60%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(68%, 75%, 0%, 32.5%)
CIE-LABlab(28.16, 44.77, -66.58)
CIE-LCHlch(28.16, 80.23, 303.92°)
OKLaboklab(40.01% 0.0243 -0.1924)
OKLCHoklch(40.01% 0.194 277.2)
XYZxyz(9.8834, 5.5177, 39.5659)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BAC #A0AC2B
analogous
#2B60AC #372BAC #772BAC
triadic
#372BAC #AC372B #2BAC37
tetradic
#372BAC #AC2B60 #A0AC2B #2BAC77
square
#372BAC #AC2B60 #A0AC2B #2BAC77
split-complementary
#372BAC #AC772B #60AC2B
monochromatic
#18134A #271F7B #372BAC #5144D0 #7F75DC

Accessibility & contrast

On white

9.98
#372BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#372BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BAC
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BAC#FFFFFF#000000##FFFFFF
##372BAC1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372bac;
/* rgb */ color: rgb(55, 43, 172);
/* oklch */ color: oklch(40.0% 0.194 277.2);
Tailwind
colors: {
  custom: {
    50: '#7e67c6',
    500: '#372bac',
    950: '#000000',
  },
}
SCSS
$custom: #372bac;
$custom-light: #7e67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#372bac",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 245.581,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.19388,
    "h": 277.2
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#372BAC
secondary
#BCC46F
accent
#E345D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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