#372698#372698

#372698 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.174 H 280.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#372698
RGBrgb(55, 38, 152)
HSLhsl(249, 60%, 37%)
HSVhsv(249, 75%, 60%)
CMYKcmyk(63.8%, 75%, 0%, 40.4%)
CIE-LABlab(25.15, 41.14, -59.40)
CIE-LCHlch(25.15, 72.25, 304.71°)
OKLaboklab(37.28% 0.0319 -0.1714)
OKLCHoklch(37.28% 0.174 280.6)
XYZxyz(7.9344, 4.4649, 30.1434)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372698 #879826
analogous
#264E98 #372698 #702698
triadic
#372698 #983726 #269837
tetradic
#372698 #98264E #879826 #269870
square
#372698 #98264E #879826 #269870
split-complementary
#372698 #987026 #4E9826
monochromatic
#140E36 #251A67 #372698 #4932C9 #7361D7

Accessibility & contrast

On white

11.09
#372698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#372698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372698
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372698#FFFFFF#000000##FFFFFF
##3726981.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372698;
/* rgb */ color: rgb(55, 38, 152);
/* oklch */ color: oklch(37.3% 0.174 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b63b7',
    500: '#372698',
    950: '#000000',
  },
}
SCSS
$custom: #372698;
$custom-light: #7b63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372698",
  "rgb": {
    "r": 55,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 248.947,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37275,
    "c": 0.17431,
    "h": 280.6
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#372698
secondary
#AFBD5D
accent
#E345CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372698

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

Preview Lab → · Contrast checker → · Palette generator →

#372698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva