#362AA5#362AA5

#362AA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.187 H 277.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#362AA5
RGBrgb(54, 42, 165)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 75%, 65%)
CMYKcmyk(67.3%, 74.5%, 0%, 35.3%)
CIE-LABlab(27.17, 42.96, -63.99)
CIE-LCHlch(27.17, 77.07, 303.88°)
OKLaboklab(39.08% 0.025 -0.1848)
OKLCHoklch(39.08% 0.187 277.7)
XYZxyz(9.1386, 5.1560, 36.1036)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA5 #99A52A
analogous
#2A5BA5 #362AA5 #732AA5
triadic
#362AA5 #A5362A #2AA536
tetradic
#362AA5 #A52A5B #99A52A #2AA573
square
#362AA5 #A52A5B #99A52A #2AA573
split-complementary
#362AA5 #A5732A #5BA52A
monochromatic
#161143 #261E74 #362AA5 #4C3ECE #7A6FDA

Accessibility & contrast

On white

10.34
#362AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#362AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AA5
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA5#FFFFFF#000000##FFFFFF
##362AA51.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362aa5;
/* rgb */ color: rgb(54, 42, 165);
/* oklch */ color: oklch(39.1% 0.187 277.7);
Tailwind
colors: {
  custom: {
    50: '#7d66c1',
    500: '#362aa5',
    950: '#000000',
  },
}
SCSS
$custom: #362aa5;
$custom-light: #7d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa5",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 245.854,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.18651,
    "h": 277.7
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#362AA5
secondary
#B9C169
accent
#E345D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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