#37298E#37298E

#37298E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.158 H 281.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#37298E
RGBrgb(55, 41, 142)
HSLhsl(248, 55%, 36%)
HSVhsv(248, 71%, 56%)
CMYKcmyk(61.3%, 71.1%, 0%, 44.3%)
CIE-LABlab(24.80, 36.19, -53.81)
CIE-LCHlch(24.80, 64.85, 303.92°)
OKLaboklab(36.73% 0.0317 -0.155)
OKLCHoklch(36.73% 0.158 281.6)
XYZxyz(7.2494, 4.3506, 26.0437)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37298E #808E29
analogous
#294D8E #37298E #69298E
triadic
#37298E #8E3729 #298E37
tetradic
#37298E #8E294D #808E29 #298E69
square
#37298E #8E294D #808E29 #298E69
split-complementary
#37298E #8E6929 #4D8E29
monochromatic
#120E2F #251B5F #37298E #4937BD #7060D1

Accessibility & contrast

On white

11.23
#37298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#37298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37298E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37298E#FFFFFF#000000##FFFFFF
##37298E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37298e;
/* rgb */ color: rgb(55, 41, 142);
/* oklch */ color: oklch(36.7% 0.158 281.6);
Tailwind
colors: {
  custom: {
    50: '#7864b0',
    500: '#37298e',
    950: '#000000',
  },
}
SCSS
$custom: #37298e;
$custom-light: #7864b0;
$custom-dark: #000000;
JSON
{
  "hex": "#37298e",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 248.317,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36727,
    "c": 0.15824,
    "h": 281.6
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#37298E
secondary
#AAB75C
accent
#DF49CA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #37298E

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

Preview Lab → · Contrast checker → · Palette generator →

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