#36288D#36288D

#36288D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.158 H 281.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#36288D
RGBrgb(54, 40, 141)
HSLhsl(248, 56%, 35%)
HSVhsv(248, 72%, 55%)
CMYKcmyk(61.7%, 71.6%, 0%, 44.7%)
CIE-LABlab(24.40, 36.30, -53.84)
CIE-LCHlch(24.40, 64.94, 303.99°)
OKLaboklab(36.39% 0.0313 -0.1552)
OKLCHoklch(36.39% 0.158 281.4)
XYZxyz(7.0863, 4.2244, 25.6361)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36288D #7F8D28
analogous
#284C8D #36288D #68288D
triadic
#36288D #8D3628 #288D36
tetradic
#36288D #8D284C #7F8D28 #288D68
square
#36288D #8D284C #7F8D28 #288D68
split-complementary
#36288D #8D6828 #4C8D28
monochromatic
#110D2E #241A5D #36288D #4836BD #6E5ED1

Accessibility & contrast

On white

11.38
#36288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#36288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36288D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36288D#FFFFFF#000000##FFFFFF
##36288D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #36288d;
/* rgb */ color: rgb(54, 40, 141);
/* oklch */ color: oklch(36.4% 0.158 281.4);
Tailwind
colors: {
  custom: {
    50: '#7863af',
    500: '#36288d',
    950: '#000000',
  },
}
SCSS
$custom: #36288d;
$custom-light: #7863af;
$custom-dark: #000000;
JSON
{
  "hex": "#36288d",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 248.317,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.15828,
    "h": 281.4
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#36288D
secondary
#AAB75A
accent
#DF49CA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #36288D

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

Preview Lab → · Contrast checker → · Palette generator →

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