#36268C#36268C

#36268C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.159 H 282.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#36268C
RGBrgb(54, 38, 140)
HSLhsl(249, 57%, 35%)
HSVhsv(249, 73%, 55%)
CMYKcmyk(61.4%, 72.9%, 0%, 45.1%)
CIE-LABlab(23.88, 37.15, -54.07)
CIE-LCHlch(23.88, 65.61, 304.49°)
OKLaboklab(35.99% 0.0331 -0.1558)
OKLCHoklch(35.99% 0.159 282)
XYZxyz(6.9466, 4.0635, 25.2241)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36268C #7C8C26
analogous
#26498C #36268C #69268C
triadic
#36268C #8C3626 #268C36
tetradic
#36268C #8C2649 #7C8C26 #268C69
square
#36268C #8C2649 #7C8C26 #268C69
split-complementary
#36268C #8C6926 #498C26
monochromatic
#110C2C #23195C #36268C #4933BC #6D5AD2

Accessibility & contrast

On white

11.58
#36268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#36268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36268C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36268C#FFFFFF#000000##FFFFFF
##36268C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #36268c;
/* rgb */ color: rgb(54, 38, 140);
/* oklch */ color: oklch(36.0% 0.159 282.0);
Tailwind
colors: {
  custom: {
    50: '#7862af',
    500: '#36268c',
    950: '#000000',
  },
}
SCSS
$custom: #36268c;
$custom-light: #7862af;
$custom-dark: #000000;
JSON
{
  "hex": "#36268c",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 249.412,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.1593,
    "h": 282
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#36268C
secondary
#A8B757
accent
#E147C9
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #36268C

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

Preview Lab → · Contrast checker → · Palette generator →

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