#36408D#36408D

#36408D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.127 H 273.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#36408D
RGBrgb(54, 64, 141)
HSLhsl(233, 45%, 38%)
HSVhsv(233, 62%, 55%)
CMYKcmyk(61.7%, 54.6%, 0%, 44.7%)
CIE-LABlab(30.34, 20.86, -44.18)
CIE-LCHlch(30.34, 48.86, 295.27°)
OKLaboklab(40.75% 0.0084 -0.1266)
OKLCHoklch(40.75% 0.127 273.8)
XYZxyz(8.1609, 6.3735, 25.9943)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36408D #8D8336
analogous
#366B8D #36408D #57368D
triadic
#36408D #8D3640 #408D36
tetradic
#36408D #8D366B #8D8336 #368D57
square
#36408D #8D366B #8D8336 #368D57
split-complementary
#36408D #8D5736 #6B8D36
monochromatic
#141834 #252C61 #36408D #4754B9 #747ECA

Accessibility & contrast

On white

9.23
#36408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#36408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36408D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36408D#FFFFFF#000000##FFFFFF
##36408D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #36408d;
/* rgb */ color: rgb(54, 64, 141);
/* oklch */ color: oklch(40.8% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#7674af',
    500: '#36408d',
    950: '#000000',
  },
}
SCSS
$custom: #36408d;
$custom-light: #7674af;
$custom-dark: #000000;
JSON
{
  "hex": "#36408d",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 233.103,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.12692,
    "h": 273.8
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#36408D
secondary
#B2AA6D
accent
#C653D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #36408D

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

Preview Lab → · Contrast checker → · Palette generator →

#36408D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva