#36298D#36298D

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

Color values

HEX#36298D
RGBrgb(54, 41, 141)
HSLhsl(248, 55%, 36%)
HSVhsv(248, 71%, 55%)
CMYKcmyk(61.7%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.62, 35.71, -53.49)
CIE-LCHlch(24.62, 64.31, 303.73°)
OKLaboklab(36.55% 0.0304 -0.1541)
OKLCHoklch(36.55% 0.157 281.2)
XYZxyz(7.1205, 4.2927, 25.6475)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36298D #808D29
analogous
#294E8D #36298D #68298D
triadic
#36298D #8D3629 #298D36
tetradic
#36298D #8D294E #808D29 #298D68
square
#36298D #8D294E #808D29 #298D68
split-complementary
#36298D #8D6829 #4E8D29
monochromatic
#120D2E #241B5E #36298D #4837BC #6E60D1

Accessibility & contrast

On white

11.30
#36298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36298D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36298D#FFFFFF#000000##FFFFFF
##36298D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36298d;
/* rgb */ color: rgb(54, 41, 141);
/* oklch */ color: oklch(36.5% 0.157 281.2);
Tailwind
colors: {
  custom: {
    50: '#7864af',
    500: '#36298d',
    950: '#000000',
  },
}
SCSS
$custom: #36298d;
$custom-light: #7864af;
$custom-dark: #000000;
JSON
{
  "hex": "#36298d",
  "rgb": {
    "r": 54,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 247.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36546,
    "c": 0.1571,
    "h": 281.2
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#36298D
secondary
#ABB65B
accent
#DE4ACB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #36298D

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

Preview Lab → · Contrast checker → · Palette generator →

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