#36299F#36299F

#36299F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.180 H 278.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#36299F
RGBrgb(54, 41, 159)
HSLhsl(247, 59%, 39%)
HSVhsv(247, 74%, 62%)
CMYKcmyk(66%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.37, 41.59, -61.68)
CIE-LCHlch(26.37, 74.39, 303.99°)
OKLaboklab(38.33% 0.0269 -0.1781)
OKLCHoklch(38.33% 0.18 278.6)
XYZxyz(8.5703, 4.8726, 33.2830)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36299F #929F29
analogous
#29579F #36299F #71299F
triadic
#36299F #9F3629 #299F36
tetradic
#36299F #9F2957 #929F29 #299F71
square
#36299F #9F2957 #929F29 #299F71
split-complementary
#36299F #9F7129 #579F29
monochromatic
#15103E #251C6E #36299F #4939CC #766AD9

Accessibility & contrast

On white

10.64
#36299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36299F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36299F#FFFFFF#000000##FFFFFF
##36299F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #36299f;
/* rgb */ color: rgb(54, 41, 159);
/* oklch */ color: oklch(38.3% 0.180 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b65bd',
    500: '#36299f',
    950: '#000000',
  },
}
SCSS
$custom: #36299f;
$custom-light: #7b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#36299f",
  "rgb": {
    "r": 54,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 246.61,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.18009,
    "h": 278.6
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#36299F
secondary
#B5BF65
accent
#E246D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #36299F

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

Preview Lab → · Contrast checker → · Palette generator →

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