#362C9C#362C9C

#362C9C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.173 H 278.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#362C9C
RGBrgb(54, 44, 156)
HSLhsl(245, 56%, 39%)
HSVhsv(245, 72%, 61%)
CMYKcmyk(65.4%, 71.8%, 0%, 38.8%)
CIE-LABlab(26.69, 38.88, -59.31)
CIE-LCHlch(26.69, 70.92, 303.24°)
OKLaboklab(38.47% 0.0255 -0.1712)
OKLCHoklch(38.47% 0.173 278.5)
XYZxyz(8.4208, 4.9853, 31.9645)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362C9C #929C2C
analogous
#2C5A9C #362C9C #6E2C9C
triadic
#362C9C #9C362C #2C9C36
tetradic
#362C9C #9C2C5A #929C2C #2C9C6E
square
#362C9C #9C2C5A #929C2C #2C9C6E
split-complementary
#362C9C #9C6E2C #5A9C2C
monochromatic
#15113D #251F6C #362C9C #493DC8 #766DD6

Accessibility & contrast

On white

10.51
#362C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#362C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362C9C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362C9C#FFFFFF#000000##FFFFFF
##362C9C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362c9c;
/* rgb */ color: rgb(54, 44, 156);
/* oklch */ color: oklch(38.5% 0.173 278.5);
Tailwind
colors: {
  custom: {
    50: '#7b67ba',
    500: '#362c9c',
    950: '#000000',
  },
}
SCSS
$custom: #362c9c;
$custom-light: #7b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#362c9c",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 245.357,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.17306,
    "h": 278.5
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#362C9C
secondary
#B5BD67
accent
#DF49D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #362C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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