#362CA6#362CA6

#362CA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.186 H 277.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#362CA6
RGBrgb(54, 44, 166)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 73%, 65%)
CMYKcmyk(67.5%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.68, 42.16, -63.77)
CIE-LCHlch(27.68, 76.45, 303.47°)
OKLaboklab(39.47% 0.0236 -0.1842)
OKLCHoklch(39.47% 0.186 277.3)
XYZxyz(9.3027, 5.3380, 36.6091)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362CA6 #9CA62C
analogous
#2C5FA6 #362CA6 #732CA6
triadic
#362CA6 #A6362C #2CA636
tetradic
#362CA6 #A62C5F #9CA62C #2CA673
square
#362CA6 #A62C5F #9CA62C #2CA673
split-complementary
#362CA6 #A6732C #5FA62C
monochromatic
#171245 #261F76 #362CA6 #4E42CD #7B73DA

Accessibility & contrast

On white

10.16
#362CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362CA6
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362CA6#FFFFFF#000000##FFFFFF
##362CA61.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ca6;
/* rgb */ color: rgb(54, 44, 166);
/* oklch */ color: oklch(39.5% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d67c2',
    500: '#362ca6',
    950: '#000000',
  },
}
SCSS
$custom: #362ca6;
$custom-light: #7d67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#362ca6",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 244.918,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.18569,
    "h": 277.3
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#362CA6
secondary
#BAC16D
accent
#E146D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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