#36268B#36268B

#36268B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.158 H 282.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#36268B
RGBrgb(54, 38, 139)
HSLhsl(250, 57%, 35%)
HSVhsv(250, 73%, 55%)
CMYKcmyk(61.2%, 72.7%, 0%, 45.5%)
CIE-LABlab(23.78, 36.83, -53.61)
CIE-LCHlch(23.78, 65.04, 304.49°)
OKLaboklab(35.89% 0.0333 -0.1545)
OKLCHoklch(35.89% 0.158 282.2)
XYZxyz(6.8732, 4.0341, 24.8376)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36268B #7B8B26
analogous
#26498B #36268B #69268B
triadic
#36268B #8B3626 #268B36
tetradic
#36268B #8B2649 #7B8B26 #268B69
square
#36268B #8B2649 #7B8B26 #268B69
split-complementary
#36268B #8B6926 #498B26
monochromatic
#110C2B #23195B #36268B #4933BB #6D5AD2

Accessibility & contrast

On white

11.62
#36268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36268B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36268B#FFFFFF#000000##FFFFFF
##36268B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36268b;
/* rgb */ color: rgb(54, 38, 139);
/* oklch */ color: oklch(35.9% 0.158 282.2);
Tailwind
colors: {
  custom: {
    50: '#7862ae',
    500: '#36268b',
    950: '#000000',
  },
}
SCSS
$custom: #36268b;
$custom-light: #7862ae;
$custom-dark: #000000;
JSON
{
  "hex": "#36268b",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 249.505,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35893,
    "c": 0.15802,
    "h": 282.2
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#36268B
secondary
#A7B756
accent
#E047C8
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #36268B

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

Preview Lab → · Contrast checker → · Palette generator →

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