#362B97#362B97

#362B97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.168 H 279.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#362B97
RGBrgb(54, 43, 151)
HSLhsl(246, 56%, 38%)
HSVhsv(246, 72%, 59%)
CMYKcmyk(64.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.00, 37.82, -57.40)
CIE-LCHlch(26.00, 68.73, 303.38°)
OKLaboklab(37.82% 0.0271 -0.1656)
OKLCHoklch(37.82% 0.168 279.3)
XYZxyz(7.9693, 4.7458, 29.7682)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B97 #8C972B
analogous
#2B5697 #362B97 #6C2B97
triadic
#362B97 #97362B #2B9736
tetradic
#362B97 #972B56 #8C972B #2B976C
square
#362B97 #972B56 #8C972B #2B976C
split-complementary
#362B97 #976C2B #56972B
monochromatic
#141038 #251D67 #362B97 #4739C7 #7368D4

Accessibility & contrast

On white

10.77
#362B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#362B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B97
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B97#FFFFFF#000000##FFFFFF
##362B971.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #362b97;
/* rgb */ color: rgb(54, 43, 151);
/* oklch */ color: oklch(37.8% 0.168 279.3);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#362b97',
    950: '#000000',
  },
}
SCSS
$custom: #362b97;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362b97",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 246.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.16777,
    "h": 279.3
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#362B97
secondary
#B2BB63
accent
#DF49D0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362B97

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

Preview Lab → · Contrast checker → · Palette generator →

#362B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva