#372BAF#372BAF

#372BAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.198 H 276.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#372BAF
RGBrgb(55, 43, 175)
HSLhsl(245, 61%, 43%)
HSVhsv(245, 75%, 69%)
CMYKcmyk(68.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(28.47, 45.73, -67.87)
CIE-LCHlch(28.47, 81.84, 303.97°)
OKLaboklab(40.32% 0.0236 -0.1961)
OKLCHoklch(40.32% 0.198 276.9)
XYZxyz(10.1748, 5.6342, 41.1004)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BAF #A3AF2B
analogous
#2B61AF #372BAF #792BAF
triadic
#372BAF #AF372B #2BAF37
tetradic
#372BAF #AF2B61 #A3AF2B #2BAF79
square
#372BAF #AF2B61 #A3AF2B #2BAF79
split-complementary
#372BAF #AF792B #61AF2B
monochromatic
#18134D #281F7E #372BAF #5246D1 #8077DE

Accessibility & contrast

On white

9.87
#372BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#372BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BAF
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BAF#FFFFFF#000000##FFFFFF
##372BAF1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372baf;
/* rgb */ color: rgb(55, 43, 175);
/* oklch */ color: oklch(40.3% 0.198 276.9);
Tailwind
colors: {
  custom: {
    50: '#7f67c8',
    500: '#372baf',
    950: '#000000',
  },
}
SCSS
$custom: #372baf;
$custom-light: #7f67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#372baf",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 245.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.19753,
    "h": 276.9
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#372BAF
secondary
#BEC570
accent
#E444D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #372BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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