#36288B#36288B

#36288B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.156 H 281.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#36288B
RGBrgb(54, 40, 139)
HSLhsl(248, 55%, 35%)
HSVhsv(248, 71%, 55%)
CMYKcmyk(61.2%, 71.2%, 0%, 45.5%)
CIE-LABlab(24.21, 35.65, -52.91)
CIE-LCHlch(24.21, 63.80, 303.97°)
OKLaboklab(36.2% 0.0316 -0.1524)
OKLCHoklch(36.2% 0.156 281.7)
XYZxyz(6.9389, 4.1655, 24.8595)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36288B #7D8B28
analogous
#284B8B #36288B #68288B
triadic
#36288B #8B3628 #288B36
tetradic
#36288B #8B284B #7D8B28 #288B68
square
#36288B #8B284B #7D8B28 #288B68
split-complementary
#36288B #8B6828 #4B8B28
monochromatic
#110D2C #241A5B #36288B #4836BB #6D5DD0

Accessibility & contrast

On white

11.46
#36288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#36288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36288B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36288B#FFFFFF#000000##FFFFFF
##36288B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #36288b;
/* rgb */ color: rgb(54, 40, 139);
/* oklch */ color: oklch(36.2% 0.156 281.7);
Tailwind
colors: {
  custom: {
    50: '#7763ae',
    500: '#36288b',
    950: '#000000',
  },
}
SCSS
$custom: #36288b;
$custom-light: #7763ae;
$custom-dark: #000000;
JSON
{
  "hex": "#36288b",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 248.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36198,
    "c": 0.15567,
    "h": 281.7
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#36288B
secondary
#A9B659
accent
#DF49C9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #36288B

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

Preview Lab → · Contrast checker → · Palette generator →

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