#36288F#36288F

#36288F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.161 H 281.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#36288F
RGBrgb(54, 40, 143)
HSLhsl(248, 56%, 36%)
HSVhsv(248, 72%, 56%)
CMYKcmyk(62.2%, 72%, 0%, 43.9%)
CIE-LABlab(24.59, 36.96, -54.77)
CIE-LCHlch(24.59, 66.07, 304.01°)
OKLaboklab(36.59% 0.0309 -0.1579)
OKLCHoklch(36.59% 0.161 281.1)
XYZxyz(7.2365, 4.2845, 26.4269)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36288F #818F28
analogous
#284D8F #36288F #69288F
triadic
#36288F #8F3628 #288F36
tetradic
#36288F #8F284D #818F28 #288F69
square
#36288F #8F284D #818F28 #288F69
split-complementary
#36288F #8F6928 #4D8F28
monochromatic
#120D2F #241B5F #36288F #4835BF #6F5FD2

Accessibility & contrast

On white

11.31
#36288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#36288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36288F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36288F#FFFFFF#000000##FFFFFF
##36288F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #36288f;
/* rgb */ color: rgb(54, 40, 143);
/* oklch */ color: oklch(36.6% 0.161 281.1);
Tailwind
colors: {
  custom: {
    50: '#7863b1',
    500: '#36288f',
    950: '#000000',
  },
}
SCSS
$custom: #36288f;
$custom-light: #7863b1;
$custom-dark: #000000;
JSON
{
  "hex": "#36288f",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 248.155,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36586,
    "c": 0.16087,
    "h": 281.1
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#36288F
secondary
#ABB85B
accent
#E048CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #36288F

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

Preview Lab → · Contrast checker → · Palette generator →

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