#362AAA#362AAA

#362AAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.193 H 277.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#362AAA
RGBrgb(54, 42, 170)
HSLhsl(246, 60%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(68.2%, 75.3%, 0%, 33.3%)
CIE-LABlab(27.69, 44.57, -66.16)
CIE-LCHlch(27.69, 79.77, 303.97°)
OKLaboklab(39.6% 0.0239 -0.1912)
OKLCHoklch(39.6% 0.193 277.1)
XYZxyz(9.6026, 5.3416, 38.5474)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AAA #9EAA2A
analogous
#2A5EAA #362AAA #762AAA
triadic
#362AAA #AA362A #2AAA36
tetradic
#362AAA #AA2A5E #9EAA2A #2AAA76
square
#362AAA #AA2A5E #9EAA2A #2AAA76
split-complementary
#362AAA #AA762A #5EAA2A
monochromatic
#171248 #261E79 #362AAA #4F41D0 #7C72DC

Accessibility & contrast

On white

10.15
#362AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#362AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AAA
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AAA#FFFFFF#000000##FFFFFF
##362AAA1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362aaa;
/* rgb */ color: rgb(54, 42, 170);
/* oklch */ color: oklch(39.6% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#7e66c5',
    500: '#362aaa',
    950: '#000000',
  },
}
SCSS
$custom: #362aaa;
$custom-light: #7e66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#362aaa",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 245.625,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.19265,
    "h": 277.1
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#362AAA
secondary
#BBC36C
accent
#E444D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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