#36319B#36319B

#36319B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.166 H 277.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#36319B
RGBrgb(54, 49, 155)
HSLhsl(243, 52%, 40%)
HSVhsv(243, 68%, 61%)
CMYKcmyk(65.2%, 68.4%, 0%, 39.2%)
CIE-LABlab(27.70, 35.53, -57.05)
CIE-LCHlch(27.70, 67.21, 301.91°)
OKLaboklab(39.16% 0.0218 -0.1646)
OKLCHoklch(39.16% 0.166 277.6)
XYZxyz(8.5341, 5.3468, 31.5863)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36319B #969B31
analogous
#31619B #36319B #6B319B
triadic
#36319B #9B3631 #319B36
tetradic
#36319B #9B3161 #969B31 #319B6B
square
#36319B #9B3161 #969B31 #319B6B
split-complementary
#36319B #9B6B31 #619B31
monochromatic
#16143E #26226D #36319B #4B45C4 #7873D3

Accessibility & contrast

On white

10.15
#36319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#36319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36319B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36319B#FFFFFF#000000##FFFFFF
##36319B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #36319b;
/* rgb */ color: rgb(54, 49, 155);
/* oklch */ color: oklch(39.2% 0.166 277.6);
Tailwind
colors: {
  custom: {
    50: '#7a6ab9',
    500: '#36319b',
    950: '#000000',
  },
}
SCSS
$custom: #36319b;
$custom-light: #7a6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#36319b",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 242.83,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.166,
    "h": 277.6
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#36319B
secondary
#B7BB6D
accent
#DB4CD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #36319B

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

Preview Lab → · Contrast checker → · Palette generator →

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