#36339D#36339D

#36339D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.166 H 276.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#36339D
RGBrgb(54, 51, 157)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 68%, 62%)
CMYKcmyk(65.6%, 67.5%, 0%, 38.4%)
CIE-LABlab(28.34, 34.97, -57.22)
CIE-LCHlch(28.34, 67.06, 301.43°)
OKLaboklab(39.68% 0.02 -0.165)
OKLCHoklch(39.68% 0.166 276.9)
XYZxyz(8.7890, 5.5855, 32.5067)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36339D #9A9D33
analogous
#33659D #36339D #6B339D
triadic
#36339D #9D3633 #339D36
tetradic
#36339D #9D3365 #9A9D33 #339D6B
square
#36339D #9D3365 #9A9D33 #339D6B
split-complementary
#36339D #9D6B33 #659D33
monochromatic
#161541 #26246F #36339D #4D49C4 #7A77D3

Accessibility & contrast

On white

9.92
#36339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36339D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36339D#FFFFFF#000000##FFFFFF
##36339D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #36339d;
/* rgb */ color: rgb(54, 51, 157);
/* oklch */ color: oklch(39.7% 0.166 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a6bbb',
    500: '#36339d',
    950: '#000000',
  },
}
SCSS
$custom: #36339d;
$custom-light: #7a6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#36339d",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 241.698,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39684,
    "c": 0.16626,
    "h": 276.9
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#36339D
secondary
#B9BB70
accent
#DA4DD6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #36339D

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

Preview Lab → · Contrast checker → · Palette generator →

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