#36288C#36288C

#36288C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.157 H 281.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#36288C
RGBrgb(54, 40, 140)
HSLhsl(248, 56%, 35%)
HSVhsv(248, 71%, 55%)
CMYKcmyk(61.4%, 71.4%, 0%, 45.1%)
CIE-LABlab(24.31, 35.98, -53.38)
CIE-LCHlch(24.31, 64.37, 303.98°)
OKLaboklab(36.29% 0.0315 -0.1538)
OKLCHoklch(36.29% 0.157 281.6)
XYZxyz(7.0123, 4.1948, 25.2460)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36288C #7E8C28
analogous
#284C8C #36288C #68288C
triadic
#36288C #8C3628 #288C36
tetradic
#36288C #8C284C #7E8C28 #288C68
square
#36288C #8C284C #7E8C28 #288C68
split-complementary
#36288C #8C6828 #4C8C28
monochromatic
#110D2D #241A5C #36288C #4836BC #6E5ED1

Accessibility & contrast

On white

11.42
#36288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#36288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36288C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36288C#FFFFFF#000000##FFFFFF
##36288C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36288c;
/* rgb */ color: rgb(54, 40, 140);
/* oklch */ color: oklch(36.3% 0.157 281.6);
Tailwind
colors: {
  custom: {
    50: '#7863af',
    500: '#36288c',
    950: '#000000',
  },
}
SCSS
$custom: #36288c;
$custom-light: #7863af;
$custom-dark: #000000;
JSON
{
  "hex": "#36288c",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 248.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36294,
    "c": 0.15698,
    "h": 281.6
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36288C

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

Preview Lab → · Contrast checker → · Palette generator →

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