#36339F#36339F

#36339F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.169 H 276.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#36339F
RGBrgb(54, 51, 159)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 68%, 62%)
CMYKcmyk(66%, 67.9%, 0%, 37.6%)
CIE-LABlab(28.52, 35.66, -58.14)
CIE-LCHlch(28.52, 68.20, 301.52°)
OKLaboklab(39.87% 0.0198 -0.1677)
OKLCHoklch(39.87% 0.169 276.7)
XYZxyz(8.9611, 5.6544, 33.4133)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36339F #9C9F33
analogous
#33669F #36339F #6C339F
triadic
#36339F #9F3633 #339F36
tetradic
#36339F #9F3366 #9C9F33 #339F6C
square
#36339F #9F3366 #9C9F33 #339F6C
split-complementary
#36339F #9F6C33 #669F33
monochromatic
#171542 #262471 #36339F #4E4AC5 #7B79D4

Accessibility & contrast

On white

9.85
#36339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#36339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36339F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36339F#FFFFFF#000000##FFFFFF
##36339F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36339f;
/* rgb */ color: rgb(54, 51, 159);
/* oklch */ color: oklch(39.9% 0.169 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b6bbc',
    500: '#36339f',
    950: '#000000',
  },
}
SCSS
$custom: #36339f;
$custom-light: #7b6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#36339f",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 241.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.1689,
    "h": 276.7
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36339F

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

Preview Lab → · Contrast checker → · Palette generator →

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