#36319E#36319E

#36319E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.170 H 277.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#36319E
RGBrgb(54, 49, 158)
HSLhsl(243, 53%, 41%)
HSVhsv(243, 69%, 62%)
CMYKcmyk(65.8%, 69%, 0%, 38%)
CIE-LABlab(27.98, 36.55, -58.43)
CIE-LCHlch(27.98, 68.91, 302.03°)
OKLaboklab(39.45% 0.0214 -0.1686)
OKLCHoklch(39.45% 0.17 277.2)
XYZxyz(8.7892, 5.4488, 32.9297)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36319E #999E31
analogous
#31629E #36319E #6C319E
triadic
#36319E #9E3631 #319E36
tetradic
#36319E #9E3162 #999E31 #319E6C
square
#36319E #9E3162 #999E31 #319E6C
split-complementary
#36319E #9E6C31 #629E31
monochromatic
#161441 #26236F #36319E #4C46C6 #7A75D4

Accessibility & contrast

On white

10.05
#36319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#36319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36319E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36319E#FFFFFF#000000##FFFFFF
##36319E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #36319e;
/* rgb */ color: rgb(54, 49, 158);
/* oklch */ color: oklch(39.4% 0.170 277.2);
Tailwind
colors: {
  custom: {
    50: '#7b6abc',
    500: '#36319e',
    950: '#000000',
  },
}
SCSS
$custom: #36319e;
$custom-light: #7b6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#36319e",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 242.752,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.16995,
    "h": 277.2
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#36319E
secondary
#B9BC6E
accent
#DC4CD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #36319E

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

Preview Lab → · Contrast checker → · Palette generator →

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