#362497#362497

#362497 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.175 H 280.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#362497
RGBrgb(54, 36, 151)
HSLhsl(249, 61%, 37%)
HSVhsv(249, 76%, 59%)
CMYKcmyk(64.2%, 76.2%, 0%, 40.8%)
CIE-LABlab(24.58, 41.79, -59.73)
CIE-LCHlch(24.58, 72.90, 304.98°)
OKLaboklab(36.82% 0.0321 -0.1724)
OKLCHoklch(36.82% 0.175 280.5)
XYZxyz(7.7363, 4.2798, 29.6906)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362497 #859724
analogous
#244C97 #362497 #702497
triadic
#362497 #973624 #249736
tetradic
#362497 #97244C #859724 #249770
square
#362497 #97244C #859724 #249770
split-complementary
#362497 #977024 #4C9724
monochromatic
#130C34 #241866 #362497 #4830C8 #705DD8

Accessibility & contrast

On white

11.31
#362497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362497
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362497#FFFFFF#000000##FFFFFF
##3624971.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362497;
/* rgb */ color: rgb(54, 36, 151);
/* oklch */ color: oklch(36.8% 0.175 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a61b7',
    500: '#362497',
    950: '#000000',
  },
}
SCSS
$custom: #362497;
$custom-light: #7a61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362497",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 249.391,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36815,
    "c": 0.17533,
    "h": 280.5
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#362497
secondary
#AEBD5A
accent
#E543CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362497

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

Preview Lab → · Contrast checker → · Palette generator →

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