#36339C#36339C

#36339C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.165 H 277.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#36339C
RGBrgb(54, 51, 156)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 67%, 61%)
CMYKcmyk(65.4%, 67.3%, 0%, 38.8%)
CIE-LABlab(28.25, 34.63, -56.76)
CIE-LCHlch(28.25, 66.49, 301.39°)
OKLaboklab(39.59% 0.0201 -0.1637)
OKLCHoklch(39.59% 0.165 277)
XYZxyz(8.7039, 5.5515, 32.0589)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36339C #999C33
analogous
#33649C #36339C #6A339C
triadic
#36339C #9C3633 #339C36
tetradic
#36339C #9C3364 #999C33 #339C6A
square
#36339C #9C3364 #999C33 #339C6A
split-complementary
#36339C #9C6A33 #649C33
monochromatic
#161540 #26246E #36339C #4C49C3 #7A77D3

Accessibility & contrast

On white

9.95
#36339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#36339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36339C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36339C#FFFFFF#000000##FFFFFF
##36339C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #36339c;
/* rgb */ color: rgb(54, 51, 156);
/* oklch */ color: oklch(39.6% 0.165 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a6bba',
    500: '#36339c',
    950: '#000000',
  },
}
SCSS
$custom: #36339c;
$custom-light: #7a6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#36339c",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 241.714,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.16493,
    "h": 277
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#36339C
secondary
#B9BB70
accent
#DA4ED6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #36339C

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

Preview Lab → · Contrast checker → · Palette generator →

#36339C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva