#36299E#36299E

#36299E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.179 H 278.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#36299E
RGBrgb(54, 41, 158)
HSLhsl(247, 59%, 39%)
HSVhsv(247, 74%, 62%)
CMYKcmyk(65.8%, 74.1%, 0%, 38%)
CIE-LABlab(26.27, 41.26, -61.23)
CIE-LCHlch(26.27, 73.84, 303.97°)
OKLaboklab(38.23% 0.0271 -0.1768)
OKLCHoklch(38.23% 0.179 278.7)
XYZxyz(8.4838, 4.8381, 32.8279)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36299E #919E29
analogous
#29579E #36299E #71299E
triadic
#36299E #9E3629 #299E36
tetradic
#36299E #9E2957 #919E29 #299E71
square
#36299E #9E2957 #919E29 #299E71
split-complementary
#36299E #9E7129 #579E29
monochromatic
#15103D #251C6D #36299E #4939CC #7669D8

Accessibility & contrast

On white

10.67
#36299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#36299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36299E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36299E#FFFFFF#000000##FFFFFF
##36299E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #36299e;
/* rgb */ color: rgb(54, 41, 158);
/* oklch */ color: oklch(38.2% 0.179 278.7);
Tailwind
colors: {
  custom: {
    50: '#7b65bc',
    500: '#36299e',
    950: '#000000',
  },
}
SCSS
$custom: #36299e;
$custom-light: #7b65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#36299e",
  "rgb": {
    "r": 54,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 246.667,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38226,
    "c": 0.17884,
    "h": 278.7
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#36299E
secondary
#B4BF64
accent
#E246D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #36299E

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

Preview Lab → · Contrast checker → · Palette generator →

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