#36229C#36229C

#36229C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.183 H 280.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#36229C
RGBrgb(54, 34, 156)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 61%)
CMYKcmyk(65.4%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.73, 44.41, -62.55)
CIE-LCHlch(24.73, 76.71, 305.38°)
OKLaboklab(37.08% 0.032 -0.1806)
OKLCHoklch(37.08% 0.183 280.1)
XYZxyz(8.0922, 4.3280, 31.8550)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36229C #889C22
analogous
#224B9C #36229C #73229C
triadic
#36229C #9C3622 #229C36
tetradic
#36229C #9C224B #889C22 #229C73
square
#36229C #9C224B #889C22 #229C73
split-complementary
#36229C #9C7322 #4B9C22
monochromatic
#130C38 #25176A #36229C #472DCE #725DDC

Accessibility & contrast

On white

11.26
#36229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#36229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36229C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36229C#FFFFFF#000000##FFFFFF
##36229C1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #36229c;
/* rgb */ color: rgb(54, 34, 156);
/* oklch */ color: oklch(37.1% 0.183 280.1);
Tailwind
colors: {
  custom: {
    50: '#7b60ba',
    500: '#36229c',
    950: '#000000',
  },
}
SCSS
$custom: #36229c;
$custom-light: #7b60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#36229c",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 249.836,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.18338,
    "h": 280.1
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#36229C
secondary
#AFC05A
accent
#E741CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #36229C

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

Preview Lab → · Contrast checker → · Palette generator →

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