#36339B#36339B

#36339B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.164 H 277.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#36339B
RGBrgb(54, 51, 155)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 61%)
CMYKcmyk(65.2%, 67.1%, 0%, 39.2%)
CIE-LABlab(28.16, 34.29, -56.30)
CIE-LCHlch(28.16, 65.91, 301.34°)
OKLaboklab(39.5% 0.0203 -0.1623)
OKLCHoklch(39.5% 0.164 277.1)
XYZxyz(8.6196, 5.5178, 31.6148)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36339B #989B33
analogous
#33649B #36339B #6A339B
triadic
#36339B #9B3633 #339B36
tetradic
#36339B #9B3364 #989B33 #339B6A
square
#36339B #9B3364 #989B33 #339B6A
split-complementary
#36339B #9B6A33 #649B33
monochromatic
#16153F #26246D #36339B #4C48C3 #7976D2

Accessibility & contrast

On white

9.98
#36339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#36339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36339B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36339B#FFFFFF#000000##FFFFFF
##36339B1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #36339b;
/* rgb */ color: rgb(54, 51, 155);
/* oklch */ color: oklch(39.5% 0.164 277.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bb9',
    500: '#36339b',
    950: '#000000',
  },
}
SCSS
$custom: #36339b;
$custom-light: #7a6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#36339b",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 241.731,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.1636,
    "h": 277.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36339B

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

Preview Lab → · Contrast checker → · Palette generator →

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