#362AA1#362AA1

#362AA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.182 H 278.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#362AA1
RGBrgb(54, 42, 161)
HSLhsl(246, 59%, 40%)
HSVhsv(246, 74%, 63%)
CMYKcmyk(66.5%, 73.9%, 0%, 36.9%)
CIE-LABlab(26.77, 41.67, -62.23)
CIE-LCHlch(26.77, 74.89, 303.81°)
OKLaboklab(38.67% 0.0259 -0.1797)
OKLCHoklch(38.67% 0.182 278.2)
XYZxyz(8.7802, 5.0127, 34.2161)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA1 #95A12A
analogous
#2A5AA1 #362AA1 #712AA1
triadic
#362AA1 #A1362A #2AA136
tetradic
#362AA1 #A12A5A #95A12A #2AA171
square
#362AA1 #A12A5A #95A12A #2AA171
split-complementary
#362AA1 #A1712A #5AA12A
monochromatic
#151140 #261D70 #362AA1 #4B3CCC #786DD9

Accessibility & contrast

On white

10.49
#362AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362AA1
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA1#FFFFFF#000000##FFFFFF
##362AA11.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362aa1;
/* rgb */ color: rgb(54, 42, 161);
/* oklch */ color: oklch(38.7% 0.182 278.2);
Tailwind
colors: {
  custom: {
    50: '#7c65be',
    500: '#362aa1',
    950: '#000000',
  },
}
SCSS
$custom: #362aa1;
$custom-light: #7c65be;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa1",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 246.05,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.18154,
    "h": 278.2
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#362AA1
secondary
#B7C067
accent
#E246D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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