#36339A#36339A

#36339A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.162 H 277.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#36339A
RGBrgb(54, 51, 154)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 60%)
CMYKcmyk(64.9%, 66.9%, 0%, 39.6%)
CIE-LABlab(28.07, 33.94, -55.83)
CIE-LCHlch(28.07, 65.34, 301.30°)
OKLaboklab(39.41% 0.0204 -0.161)
OKLCHoklch(39.41% 0.162 277.2)
XYZxyz(8.5360, 5.4843, 31.1743)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36339A #979A33
analogous
#33639A #36339A #6A339A
triadic
#36339A #9A3633 #339A36
tetradic
#36339A #9A3363 #979A33 #339A6A
square
#36339A #9A3363 #979A33 #339A6A
split-complementary
#36339A #9A6A33 #639A33
monochromatic
#16153E #26246C #36339A #4B48C2 #7876D2

Accessibility & contrast

On white

10.01
#36339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36339A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36339A#FFFFFF#000000##FFFFFF
##36339A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36339a;
/* rgb */ color: rgb(54, 51, 154);
/* oklch */ color: oklch(39.4% 0.162 277.2);
Tailwind
colors: {
  custom: {
    50: '#796bb9',
    500: '#36339a',
    950: '#000000',
  },
}
SCSS
$custom: #36339a;
$custom-light: #796bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#36339a",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 241.748,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.16226,
    "h": 277.2
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36339A

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

Preview Lab → · Contrast checker → · Palette generator →

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