#36229D#36229D

#36229D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.185 H 279.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#36229D
RGBrgb(54, 34, 157)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 62%)
CMYKcmyk(65.6%, 78.3%, 0%, 38.4%)
CIE-LABlab(24.83, 44.72, -62.99)
CIE-LCHlch(24.83, 77.25, 305.37°)
OKLaboklab(37.18% 0.0318 -0.1818)
OKLCHoklch(37.18% 0.185 279.9)
XYZxyz(8.1772, 4.3620, 32.3028)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36229D #899D22
analogous
#224C9D #36229D #73229D
triadic
#36229D #9D3622 #229D36
tetradic
#36229D #9D224C #899D22 #229D73
square
#36229D #9D224C #899D22 #229D73
split-complementary
#36229D #9D7322 #4C9D22
monochromatic
#130C38 #25176B #36229D #472DCF #725DDC

Accessibility & contrast

On white

11.21
#36229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36229D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36229D#FFFFFF#000000##FFFFFF
##36229D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #36229d;
/* rgb */ color: rgb(54, 34, 157);
/* oklch */ color: oklch(37.2% 0.185 279.9);
Tailwind
colors: {
  custom: {
    50: '#7c61bb',
    500: '#36229d',
    950: '#000000',
  },
}
SCSS
$custom: #36229d;
$custom-light: #7c61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#36229d",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 249.756,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.18458,
    "h": 279.9
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#36229D
secondary
#B0C15A
accent
#E740CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #36229D

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

Preview Lab → · Contrast checker → · Palette generator →

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