#372F83#372F83

#372F83 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.136 H 281.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#372F83
RGBrgb(55, 47, 131)
HSLhsl(246, 47%, 35%)
HSVhsv(246, 64%, 51%)
CMYKcmyk(58%, 64.1%, 0%, 48.6%)
CIE-LABlab(25.21, 28.79, -46.28)
CIE-LCHlch(25.21, 54.50, 301.89°)
OKLaboklab(36.72% 0.0275 -0.1329)
OKLCHoklch(36.72% 0.136 281.7)
XYZxyz(6.6875, 4.4835, 21.9813)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F83 #7B832F
analogous
#2F5183 #372F83 #612F83
triadic
#372F83 #83372F #2F8337
tetradic
#372F83 #832F51 #7B832F #2F8361
square
#372F83 #832F51 #7B832F #2F8361
split-complementary
#372F83 #83612F #51832F
monochromatic
#110F29 #241F56 #372F83 #4A3FB0 #6E65C8

Accessibility & contrast

On white

11.07
#372F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F83
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F83#FFFFFF#000000##FFFFFF
##372F831.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#104454
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372f83;
/* rgb */ color: rgb(55, 47, 131);
/* oklch */ color: oklch(36.7% 0.136 281.7);
Tailwind
colors: {
  custom: {
    50: '#7668a8',
    500: '#372f83',
    950: '#000000',
  },
}
SCSS
$custom: #372f83;
$custom-light: #7668a8;
$custom-dark: #000000;
JSON
{
  "hex": "#372f83",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 245.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36724,
    "c": 0.13573,
    "h": 281.7
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#372F83
secondary
#A7AF5F
accent
#D751CA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372F83

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

Preview Lab → · Contrast checker → · Palette generator →

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