#36319A#36319A

#36319A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.165 H 277.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#36319A
RGBrgb(54, 49, 154)
HSLhsl(243, 52%, 40%)
HSVhsv(243, 68%, 60%)
CMYKcmyk(64.9%, 68.2%, 0%, 39.6%)
CIE-LABlab(27.61, 35.19, -56.59)
CIE-LCHlch(27.61, 66.64, 301.87°)
OKLaboklab(39.07% 0.022 -0.1632)
OKLCHoklch(39.07% 0.165 277.7)
XYZxyz(8.4505, 5.3133, 31.1458)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36319A #959A31
analogous
#31619A #36319A #6A319A
triadic
#36319A #9A3631 #319A36
tetradic
#36319A #9A3161 #959A31 #319A6A
square
#36319A #9A3161 #959A31 #319A6A
split-complementary
#36319A #9A6A31 #619A31
monochromatic
#15133D #26226C #36319A #4B45C4 #7873D2

Accessibility & contrast

On white

10.18
#36319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#36319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36319A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36319A#FFFFFF#000000##FFFFFF
##36319A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #36319a;
/* rgb */ color: rgb(54, 49, 154);
/* oklch */ color: oklch(39.1% 0.165 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a6ab9',
    500: '#36319a',
    950: '#000000',
  },
}
SCSS
$custom: #36319a;
$custom-light: #7a6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#36319a",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 242.857,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.16468,
    "h": 277.7
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#36319A
secondary
#B7BA6C
accent
#DB4DD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #36319A

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

Preview Lab → · Contrast checker → · Palette generator →

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