#362AAB#362AAB

#362AAB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.194 H 277.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#362AAB
RGBrgb(54, 42, 171)
HSLhsl(246, 61%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(68.4%, 75.4%, 0%, 32.9%)
CIE-LABlab(27.79, 44.89, -66.59)
CIE-LCHlch(27.79, 80.31, 303.98°)
OKLaboklab(39.7% 0.0237 -0.1924)
OKLCHoklch(39.7% 0.194 277)
XYZxyz(9.6976, 5.3796, 39.0475)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AAB #9FAB2A
analogous
#2A5FAB #362AAB #762AAB
triadic
#362AAB #AB362A #2AAB36
tetradic
#362AAB #AB2A5F #9FAB2A #2AAB76
square
#362AAB #AB2A5F #9FAB2A #2AAB76
split-complementary
#362AAB #AB762A #5FAB2A
monochromatic
#171249 #261E7A #362AAB #4F42D1 #7D73DD

Accessibility & contrast

On white

10.12
#362AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#362AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AAB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AAB#FFFFFF#000000##FFFFFF
##362AAB1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362aab;
/* rgb */ color: rgb(54, 42, 171);
/* oklch */ color: oklch(39.7% 0.194 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e66c5',
    500: '#362aab',
    950: '#000000',
  },
}
SCSS
$custom: #362aab;
$custom-light: #7e66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#362aab",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 245.581,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.397,
    "c": 0.19387,
    "h": 277
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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