#362AA2#362AA2

#362AA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.183 H 278.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#362AA2
RGBrgb(54, 42, 162)
HSLhsl(246, 59%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.7%, 74.1%, 0%, 36.5%)
CIE-LABlab(26.87, 41.99, -62.67)
CIE-LCHlch(26.87, 75.44, 303.82°)
OKLaboklab(38.78% 0.0256 -0.181)
OKLCHoklch(38.78% 0.183 278.1)
XYZxyz(8.8688, 5.0481, 34.6824)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA2 #96A22A
analogous
#2A5AA2 #362AA2 #722AA2
triadic
#362AA2 #A2362A #2AA236
tetradic
#362AA2 #A22A5A #96A22A #2AA272
square
#362AA2 #A22A5A #96A22A #2AA272
split-complementary
#362AA2 #A2722A #5AA22A
monochromatic
#161141 #261D71 #362AA2 #4B3DCD #786DD9

Accessibility & contrast

On white

10.45
#362AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#362AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AA2
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA2#FFFFFF#000000##FFFFFF
##362AA21.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362aa2;
/* rgb */ color: rgb(54, 42, 162);
/* oklch */ color: oklch(38.8% 0.183 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c66bf',
    500: '#362aa2',
    950: '#000000',
  },
}
SCSS
$custom: #362aa2;
$custom-light: #7c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa2",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 246,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.18279,
    "h": 278.1
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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