#362498#362498

#362498 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.177 H 280.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#362498
RGBrgb(54, 36, 152)
HSLhsl(249, 62%, 37%)
HSVhsv(249, 76%, 60%)
CMYKcmyk(64.5%, 76.3%, 0%, 40.4%)
CIE-LABlab(24.68, 42.11, -60.18)
CIE-LCHlch(24.68, 73.45, 304.98°)
OKLaboklab(36.92% 0.0318 -0.1737)
OKLCHoklch(36.92% 0.177 280.4)
XYZxyz(7.8179, 4.3124, 30.1201)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362498 #869824
analogous
#244C98 #362498 #702498
triadic
#362498 #983624 #249836
tetradic
#362498 #98244C #869824 #249870
square
#362498 #98244C #869824 #249870
split-complementary
#362498 #987024 #4C9824
monochromatic
#130D35 #241867 #362498 #4830C9 #715ED9

Accessibility & contrast

On white

11.27
#362498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#362498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362498
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362498#FFFFFF#000000##FFFFFF
##3624981.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362498;
/* rgb */ color: rgb(54, 36, 152);
/* oklch */ color: oklch(36.9% 0.177 280.4);
Tailwind
colors: {
  custom: {
    50: '#7a61b7',
    500: '#362498',
    950: '#000000',
  },
}
SCSS
$custom: #362498;
$custom-light: #7a61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362498",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 249.31,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.17656,
    "h": 280.4
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#362498
secondary
#AEBE5A
accent
#E543CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362498

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

Preview Lab → · Contrast checker → · Palette generator →

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