#36298E#36298E

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

Color values

HEX#36298E
RGBrgb(54, 41, 142)
HSLhsl(248, 55%, 36%)
HSVhsv(248, 71%, 56%)
CMYKcmyk(62%, 71.1%, 0%, 44.3%)
CIE-LABlab(24.71, 36.04, -53.95)
CIE-LCHlch(24.71, 64.88, 303.74°)
OKLaboklab(36.64% 0.0303 -0.1555)
OKLCHoklch(36.64% 0.158 281)
XYZxyz(7.1952, 4.3226, 26.0411)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36298E #818E29
analogous
#294E8E #36298E #68298E
triadic
#36298E #8E3629 #298E36
tetradic
#36298E #8E294E #818E29 #298E68
square
#36298E #8E294E #818E29 #298E68
split-complementary
#36298E #8E6829 #4E8E29
monochromatic
#120E2F #241B5F #36298E #4837BD #6F60D1

Accessibility & contrast

On white

11.26
#36298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36298E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36298E#FFFFFF#000000##FFFFFF
##36298E1.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)
#003E91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #36298e;
/* rgb */ color: rgb(54, 41, 142);
/* oklch */ color: oklch(36.6% 0.158 281.0);
Tailwind
colors: {
  custom: {
    50: '#7864b0',
    500: '#36298e',
    950: '#000000',
  },
}
SCSS
$custom: #36298e;
$custom-light: #7864b0;
$custom-dark: #000000;
JSON
{
  "hex": "#36298e",
  "rgb": {
    "r": 54,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 247.723,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36642,
    "c": 0.15841,
    "h": 281
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#36298E
secondary
#ABB75C
accent
#DF49CB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #36298E

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

Preview Lab → · Contrast checker → · Palette generator →

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