#36408C#36408C

#36408C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.125 H 273.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#36408C
RGBrgb(54, 64, 140)
HSLhsl(233, 44%, 38%)
HSVhsv(233, 61%, 55%)
CMYKcmyk(61.4%, 54.3%, 0%, 45.1%)
CIE-LABlab(30.26, 20.50, -43.68)
CIE-LCHlch(30.26, 48.25, 295.14°)
OKLaboklab(40.67% 0.0083 -0.1252)
OKLCHoklch(40.67% 0.125 273.8)
XYZxyz(8.0868, 6.3439, 25.6042)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36408C #8C8236
analogous
#366B8C #36408C #57368C
triadic
#36408C #8C3640 #408C36
tetradic
#36408C #8C366B #8C8236 #368C57
square
#36408C #8C366B #8C8236 #368C57
split-complementary
#36408C #8C5736 #6B8C36
monochromatic
#141834 #252C60 #36408C #4754B8 #737DC9

Accessibility & contrast

On white

9.26
#36408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36408C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36408C#FFFFFF#000000##FFFFFF
##36408C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #36408c;
/* rgb */ color: rgb(54, 64, 140);
/* oklch */ color: oklch(40.7% 0.125 273.8);
Tailwind
colors: {
  custom: {
    50: '#7674ae',
    500: '#36408c',
    950: '#000000',
  },
}
SCSS
$custom: #36408c;
$custom-light: #7674ae;
$custom-dark: #000000;
JSON
{
  "hex": "#36408c",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 233.023,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.12545,
    "h": 273.8
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#36408C
secondary
#B2AA6C
accent
#C554D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #36408C

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

Preview Lab → · Contrast checker → · Palette generator →

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