#362CA5#362CA5

#362CA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.184 H 277.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#362CA5
RGBrgb(54, 44, 165)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 73%, 65%)
CMYKcmyk(67.3%, 73.3%, 0%, 35.3%)
CIE-LABlab(27.58, 41.83, -63.33)
CIE-LCHlch(27.58, 75.90, 303.45°)
OKLaboklab(39.37% 0.0238 -0.1829)
OKLCHoklch(39.37% 0.184 277.4)
XYZxyz(9.2113, 5.3015, 36.1279)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362CA5 #9BA52C
analogous
#2C5EA5 #362CA5 #722CA5
triadic
#362CA5 #A5362C #2CA536
tetradic
#362CA5 #A52C5E #9BA52C #2CA572
square
#362CA5 #A52C5E #9BA52C #2CA572
split-complementary
#362CA5 #A5722C #5EA52C
monochromatic
#161244 #261F75 #362CA5 #4D42CD #7B72D9

Accessibility & contrast

On white

10.19
#362CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#362CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362CA5
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362CA5#FFFFFF#000000##FFFFFF
##362CA51.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362ca5;
/* rgb */ color: rgb(54, 44, 165);
/* oklch */ color: oklch(39.4% 0.184 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c67c1',
    500: '#362ca5',
    950: '#000000',
  },
}
SCSS
$custom: #362ca5;
$custom-light: #7c67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#362ca5",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 244.959,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.18445,
    "h": 277.4
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#362CA5
secondary
#BAC16C
accent
#E147D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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