#372E80#372E80

#372E80 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.133 H 282.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#372E80
RGBrgb(55, 46, 128)
HSLhsl(247, 47%, 34%)
HSVhsv(247, 64%, 50%)
CMYKcmyk(57%, 64.1%, 0%, 49.8%)
CIE-LABlab(24.72, 28.42, -45.19)
CIE-LCHlch(24.72, 53.39, 302.16°)
OKLaboklab(36.29% 0.0287 -0.1297)
OKLCHoklch(36.29% 0.133 282.5)
XYZxyz(6.4476, 4.3243, 20.9128)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E80 #77802E
analogous
#2E4E80 #372E80 #602E80
triadic
#372E80 #80372E #2E8037
tetradic
#372E80 #802E4E #77802E #2E8060
square
#372E80 #802E4E #77802E #2E8060
split-complementary
#372E80 #80602E #4E802E
monochromatic
#100E26 #241E53 #372E80 #4A3EAD #6D62C7

Accessibility & contrast

On white

11.26
#372E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E80
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E80#FFFFFF#000000##FFFFFF
##372E801.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#154252
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372e80;
/* rgb */ color: rgb(55, 46, 128);
/* oklch */ color: oklch(36.3% 0.133 282.5);
Tailwind
colors: {
  custom: {
    50: '#7567a6',
    500: '#372e80',
    950: '#000000',
  },
}
SCSS
$custom: #372e80;
$custom-light: #7567a6;
$custom-dark: #000000;
JSON
{
  "hex": "#372e80",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 246.585,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.13289,
    "h": 282.5
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#372E80
secondary
#A4AD5D
accent
#D751C8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372E80

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

Preview Lab → · Contrast checker → · Palette generator →

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