#36288E#36288E

#36288E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.160 H 281.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#36288E
RGBrgb(54, 40, 142)
HSLhsl(248, 56%, 36%)
HSVhsv(248, 72%, 56%)
CMYKcmyk(62%, 71.8%, 0%, 44.3%)
CIE-LABlab(24.49, 36.63, -54.31)
CIE-LCHlch(24.49, 65.51, 304.00°)
OKLaboklab(36.49% 0.0311 -0.1565)
OKLCHoklch(36.49% 0.16 281.2)
XYZxyz(7.1611, 4.2543, 26.0298)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36288E #808E28
analogous
#284D8E #36288E #69288E
triadic
#36288E #8E3628 #288E36
tetradic
#36288E #8E284D #808E28 #288E69
square
#36288E #8E284D #808E28 #288E69
split-complementary
#36288E #8E6928 #4D8E28
monochromatic
#120D2F #241B5E #36288E #4835BE #6E5FD2

Accessibility & contrast

On white

11.35
#36288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36288E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36288E#FFFFFF#000000##FFFFFF
##36288E1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #36288e;
/* rgb */ color: rgb(54, 40, 142);
/* oklch */ color: oklch(36.5% 0.160 281.2);
Tailwind
colors: {
  custom: {
    50: '#7863b0',
    500: '#36288e',
    950: '#000000',
  },
}
SCSS
$custom: #36288e;
$custom-light: #7863b0;
$custom-dark: #000000;
JSON
{
  "hex": "#36288e",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 248.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36488,
    "c": 0.15958,
    "h": 281.2
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#36288E
secondary
#ABB75B
accent
#DF48CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #36288E

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

Preview Lab → · Contrast checker → · Palette generator →

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