#36337E#36337E

#36337E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.123 H 280.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#36337E
RGBrgb(54, 51, 126)
HSLhsl(242, 42%, 35%)
HSVhsv(242, 60%, 49%)
CMYKcmyk(57.1%, 59.5%, 0%, 50.6%)
CIE-LABlab(25.74, 24.25, -42.28)
CIE-LCHlch(25.74, 48.74, 299.84°)
OKLaboklab(36.96% 0.022 -0.1212)
OKLCHoklch(36.96% 0.123 280.3)
XYZxyz(6.4699, 4.6579, 20.2928)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36337E #7B7E33
analogous
#33567E #36337E #5C337E
triadic
#36337E #7E3633 #337E36
tetradic
#36337E #7E3356 #7B7E33 #337E5C
square
#36337E #7E3356 #7B7E33 #337E5C
split-complementary
#36337E #7E5C33 #567E33
monochromatic
#111027 #232152 #36337E #4945AA #6D69C2

Accessibility & contrast

On white

10.87
#36337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#36337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36337E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36337E#FFFFFF#000000##FFFFFF
##36337E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#134553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #36337e;
/* rgb */ color: rgb(54, 51, 126);
/* oklch */ color: oklch(37.0% 0.123 280.3);
Tailwind
colors: {
  custom: {
    50: '#746ba4',
    500: '#36337e',
    950: '#000000',
  },
}
SCSS
$custom: #36337e;
$custom-light: #746ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#36337e",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 242.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36964,
    "c": 0.12316,
    "h": 280.3
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#36337E
secondary
#A7AA63
accent
#D256CD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #36337E

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

Preview Lab → · Contrast checker → · Palette generator →

#36337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva