#362496#362496

#362496 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.174 H 280.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#362496
RGBrgb(54, 36, 150)
HSLhsl(249, 61%, 36%)
HSVhsv(249, 76%, 59%)
CMYKcmyk(64%, 76%, 0%, 41.2%)
CIE-LABlab(24.47, 41.48, -59.29)
CIE-LCHlch(24.47, 72.36, 304.98°)
OKLaboklab(36.71% 0.0323 -0.1711)
OKLCHoklch(36.71% 0.174 280.7)
XYZxyz(7.6555, 4.2475, 29.2647)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362496 #849624
analogous
#244B96 #362496 #6F2496
triadic
#362496 #963624 #249636
tetradic
#362496 #96244B #849624 #24966F
square
#362496 #96244B #849624 #24966F
split-complementary
#362496 #966F24 #4B9624
monochromatic
#120C33 #241865 #362496 #4830C7 #705CD8

Accessibility & contrast

On white

11.35
#362496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#362496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362496
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362496#FFFFFF#000000##FFFFFF
##3624961.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362496;
/* rgb */ color: rgb(54, 36, 150);
/* oklch */ color: oklch(36.7% 0.174 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a61b6',
    500: '#362496',
    950: '#000000',
  },
}
SCSS
$custom: #362496;
$custom-light: #7a61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#362496",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 249.474,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.17409,
    "h": 280.7
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#362496
secondary
#ADBD59
accent
#E443CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362496

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

Preview Lab → · Contrast checker → · Palette generator →

#362496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva