#36229E#36229E

#36229E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.186 H 279.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#36229E
RGBrgb(54, 34, 158)
HSLhsl(250, 65%, 38%)
HSVhsv(250, 78%, 62%)
CMYKcmyk(65.8%, 78.5%, 0%, 38%)
CIE-LABlab(24.94, 45.03, -63.42)
CIE-LCHlch(24.94, 77.78, 305.37°)
OKLaboklab(37.29% 0.0315 -0.1831)
OKLCHoklch(37.29% 0.186 279.8)
XYZxyz(8.2629, 4.3963, 32.7543)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36229E #8A9E22
analogous
#224C9E #36229E #74229E
triadic
#36229E #9E3622 #229E36
tetradic
#36229E #9E224C #8A9E22 #229E74
square
#36229E #9E224C #8A9E22 #229E74
split-complementary
#36229E #9E7422 #4C9E22
monochromatic
#140C39 #25176C #36229E #472DD0 #725EDC

Accessibility & contrast

On white

11.17
#36229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#36229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36229E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36229E#FFFFFF#000000##FFFFFF
##36229E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #36229e;
/* rgb */ color: rgb(54, 34, 158);
/* oklch */ color: oklch(37.3% 0.186 279.8);
Tailwind
colors: {
  custom: {
    50: '#7c61bc',
    500: '#36229e',
    950: '#000000',
  },
}
SCSS
$custom: #36229e;
$custom-light: #7c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#36229e",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 249.677,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37291,
    "c": 0.18579,
    "h": 279.8
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#36229E
secondary
#B1C15B
accent
#E840CD
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #36229E

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

Preview Lab → · Contrast checker → · Palette generator →

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