#36229B#36229B

#36229B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.182 H 280.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#36229B
RGBrgb(54, 34, 155)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 61%)
CMYKcmyk(65.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.62, 44.10, -62.11)
CIE-LCHlch(24.62, 76.18, 305.38°)
OKLaboklab(36.97% 0.0323 -0.1793)
OKLCHoklch(36.97% 0.182 280.2)
XYZxyz(8.0079, 4.2943, 31.4109)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36229B #879B22
analogous
#224B9B #36229B #72229B
triadic
#36229B #9B3622 #229B36
tetradic
#36229B #9B224B #879B22 #229B72
square
#36229B #9B224B #879B22 #229B72
split-complementary
#36229B #9B7222 #4B9B22
monochromatic
#130C37 #251769 #36229B #472DCD #715CDB

Accessibility & contrast

On white

11.30
#36229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#36229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36229B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36229B#FFFFFF#000000##FFFFFF
##36229B1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #36229b;
/* rgb */ color: rgb(54, 34, 155);
/* oklch */ color: oklch(37.0% 0.182 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b60ba',
    500: '#36229b',
    950: '#000000',
  },
}
SCSS
$custom: #36229b;
$custom-light: #7b60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#36229b",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 249.917,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.18218,
    "h": 280.2
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36229B

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

Preview Lab → · Contrast checker → · Palette generator →

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