#36278B#36278B

#36278B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.157 H 281.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#36278B
RGBrgb(54, 39, 139)
HSLhsl(249, 56%, 35%)
HSVhsv(249, 72%, 55%)
CMYKcmyk(61.2%, 71.9%, 0%, 45.5%)
CIE-LABlab(24.00, 36.24, -53.26)
CIE-LCHlch(24.00, 64.42, 304.23°)
OKLaboklab(36.04% 0.0325 -0.1535)
OKLCHoklch(36.04% 0.157 281.9)
XYZxyz(6.9056, 4.0989, 24.8484)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36278B #7C8B27
analogous
#274A8B #36278B #68278B
triadic
#36278B #8B3627 #278B36
tetradic
#36278B #8B274A #7C8B27 #278B68
square
#36278B #8B274A #7C8B27 #278B68
split-complementary
#36278B #8B6827 #4A8B27
monochromatic
#110C2B #231A5B #36278B #4934BB #6D5BD1

Accessibility & contrast

On white

11.54
#36278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#36278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36278B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36278B#FFFFFF#000000##FFFFFF
##36278B1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #36278b;
/* rgb */ color: rgb(54, 39, 139);
/* oklch */ color: oklch(36.0% 0.157 281.9);
Tailwind
colors: {
  custom: {
    50: '#7863ae',
    500: '#36278b',
    950: '#000000',
  },
}
SCSS
$custom: #36278b;
$custom-light: #7863ae;
$custom-dark: #000000;
JSON
{
  "hex": "#36278b",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 249,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.15686,
    "h": 281.9
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#36278B
secondary
#A8B658
accent
#DF48C9
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #36278B

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

Preview Lab → · Contrast checker → · Palette generator →

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