#37298D#37298D

#37298D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.157 H 281.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#37298D
RGBrgb(55, 41, 141)
HSLhsl(248, 55%, 36%)
HSVhsv(248, 71%, 55%)
CMYKcmyk(61%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.70, 35.86, -53.34)
CIE-LCHlch(24.70, 64.27, 303.91°)
OKLaboklab(36.63% 0.0319 -0.1537)
OKLCHoklch(36.63% 0.157 281.7)
XYZxyz(7.1747, 4.3207, 25.6500)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37298D #7F8D29
analogous
#294D8D #37298D #69298D
triadic
#37298D #8D3729 #298D37
tetradic
#37298D #8D294D #7F8D29 #298D69
square
#37298D #8D294D #7F8D29 #298D69
split-complementary
#37298D #8D6929 #4D8D29
monochromatic
#120D2E #251B5E #37298D #4937BC #7060D1

Accessibility & contrast

On white

11.26
#37298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#37298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37298D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37298D#FFFFFF#000000##FFFFFF
##37298D1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37298d;
/* rgb */ color: rgb(55, 41, 141);
/* oklch */ color: oklch(36.6% 0.157 281.7);
Tailwind
colors: {
  custom: {
    50: '#7864af',
    500: '#37298d',
    950: '#000000',
  },
}
SCSS
$custom: #37298d;
$custom-light: #7864af;
$custom-dark: #000000;
JSON
{
  "hex": "#37298d",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 248.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36631,
    "c": 0.15693,
    "h": 281.7
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#37298D
secondary
#AAB65B
accent
#DE4AC9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #37298D

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

Preview Lab → · Contrast checker → · Palette generator →

#37298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva