#36229F#36229F

#36229F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.187 H 279.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#36229F
RGBrgb(54, 34, 159)
HSLhsl(250, 65%, 38%)
HSVhsv(250, 79%, 62%)
CMYKcmyk(66%, 78.6%, 0%, 37.6%)
CIE-LABlab(25.05, 45.34, -63.85)
CIE-LCHlch(25.05, 78.31, 305.38°)
OKLaboklab(37.4% 0.0312 -0.1844)
OKLCHoklch(37.4% 0.187 279.6)
XYZxyz(8.3494, 4.4309, 33.2094)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36229F #8B9F22
analogous
#224C9F #36229F #74229F
triadic
#36229F #9F3622 #229F36
tetradic
#36229F #9F224C #8B9F22 #229F74
square
#36229F #9F224C #8B9F22 #229F74
split-complementary
#36229F #9F7422 #4C9F22
monochromatic
#140C3A #25176D #36229F #472DD1 #735FDD

Accessibility & contrast

On white

11.13
#36229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#36229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36229F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36229F#FFFFFF#000000##FFFFFF
##36229F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #36229f;
/* rgb */ color: rgb(54, 34, 159);
/* oklch */ color: oklch(37.4% 0.187 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c61bd',
    500: '#36229f',
    950: '#000000',
  },
}
SCSS
$custom: #36229f;
$custom-light: #7c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#36229f",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 249.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37397,
    "c": 0.18698,
    "h": 279.6
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36229F

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

Preview Lab → · Contrast checker → · Palette generator →

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