#36339E#36339E

#36339E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.168 H 276.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#36339E
RGBrgb(54, 51, 158)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 68%, 62%)
CMYKcmyk(65.8%, 67.7%, 0%, 38%)
CIE-LABlab(28.43, 35.32, -57.68)
CIE-LCHlch(28.43, 67.63, 301.48°)
OKLaboklab(39.78% 0.0199 -0.1664)
OKLCHoklch(39.78% 0.168 276.8)
XYZxyz(8.8747, 5.6198, 32.9582)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36339E #9B9E33
analogous
#33659E #36339E #6B339E
triadic
#36339E #9E3633 #339E36
tetradic
#36339E #9E3365 #9B9E33 #339E6B
square
#36339E #9E3365 #9B9E33 #339E6B
split-complementary
#36339E #9E6B33 #659E33
monochromatic
#161541 #262470 #36339E #4D4AC4 #7B78D3

Accessibility & contrast

On white

9.89
#36339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#36339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36339E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36339E#FFFFFF#000000##FFFFFF
##36339E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #36339e;
/* rgb */ color: rgb(54, 51, 158);
/* oklch */ color: oklch(39.8% 0.168 276.8);
Tailwind
colors: {
  custom: {
    50: '#7a6bbc',
    500: '#36339e',
    950: '#000000',
  },
}
SCSS
$custom: #36339e;
$custom-light: #7a6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#36339e",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 241.682,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.16759,
    "h": 276.8
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#36339E
secondary
#BABC71
accent
#DB4DD7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #36339E

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

Preview Lab → · Contrast checker → · Palette generator →

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