#362A96#362A96

#362A96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.168 H 279.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#362A96
RGBrgb(54, 42, 150)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 59%)
CMYKcmyk(64%, 72%, 0%, 41.2%)
CIE-LABlab(25.69, 38.08, -57.29)
CIE-LCHlch(25.69, 68.79, 303.61°)
OKLaboklab(37.57% 0.028 -0.1653)
OKLCHoklch(37.57% 0.168 279.6)
XYZxyz(7.8526, 4.6416, 29.3304)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A96 #8A962A
analogous
#2A5496 #362A96 #6C2A96
triadic
#362A96 #96362A #2A9636
tetradic
#362A96 #962A54 #8A962A #2A966C
square
#362A96 #962A54 #8A962A #2A966C
split-complementary
#362A96 #966C2A #54962A
monochromatic
#140F36 #251D66 #362A96 #4737C6 #7266D4

Accessibility & contrast

On white

10.89
#362A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#362A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A96
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A96#FFFFFF#000000##FFFFFF
##362A961.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362a96;
/* rgb */ color: rgb(54, 42, 150);
/* oklch */ color: oklch(37.6% 0.168 279.6);
Tailwind
colors: {
  custom: {
    50: '#7965b6',
    500: '#362a96',
    950: '#000000',
  },
}
SCSS
$custom: #362a96;
$custom-light: #7965b6;
$custom-dark: #000000;
JSON
{
  "hex": "#362a96",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 246.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37575,
    "c": 0.16762,
    "h": 279.6
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#362A96
secondary
#B1BA61
accent
#E048CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362A96

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

Preview Lab → · Contrast checker → · Palette generator →

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