#362EA1#362EA1

#362EA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.177 H 277.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#362EA1
RGBrgb(54, 46, 161)
HSLhsl(244, 56%, 41%)
HSVhsv(244, 71%, 63%)
CMYKcmyk(66.5%, 71.4%, 0%, 36.9%)
CIE-LABlab(27.60, 39.36, -60.86)
CIE-LCHlch(27.60, 72.48, 302.89°)
OKLaboklab(39.27% 0.0232 -0.1757)
OKLCHoklch(39.27% 0.177 277.5)
XYZxyz(8.9293, 5.3107, 34.2658)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362EA1 #99A12E
analogous
#2E5FA1 #362EA1 #6F2EA1
triadic
#362EA1 #A1362E #2EA136
tetradic
#362EA1 #A12E5F #99A12E #2EA16F
square
#362EA1 #A12E5F #99A12E #2EA16F
split-complementary
#362EA1 #A16F2E #5FA12E
monochromatic
#161342 #262071 #362EA1 #4C43C9 #7A73D7

Accessibility & contrast

On white

10.18
#362EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362EA1
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362EA1#FFFFFF#000000##FFFFFF
##362EA11.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ea1;
/* rgb */ color: rgb(54, 46, 161);
/* oklch */ color: oklch(39.3% 0.177 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b68be',
    500: '#362ea1',
    950: '#000000',
  },
}
SCSS
$custom: #362ea1;
$custom-light: #7b68be;
$custom-dark: #000000;
JSON
{
  "hex": "#362ea1",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 244.174,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.17724,
    "h": 277.5
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#362EA1
secondary
#B9BE6C
accent
#DF49D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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