#362AA4#362AA4

#362AA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.185 H 277.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#362AA4
RGBrgb(54, 42, 164)
HSLhsl(246, 59%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(67.1%, 74.4%, 0%, 35.7%)
CIE-LABlab(27.07, 42.64, -63.55)
CIE-LCHlch(27.07, 76.53, 303.86°)
OKLaboklab(38.98% 0.0252 -0.1835)
OKLCHoklch(38.98% 0.185 277.8)
XYZxyz(9.0480, 5.1198, 35.6262)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA4 #98A42A
analogous
#2A5BA4 #362AA4 #732AA4
triadic
#362AA4 #A4362A #2AA436
tetradic
#362AA4 #A42A5B #98A42A #2AA473
square
#362AA4 #A42A5B #98A42A #2AA473
split-complementary
#362AA4 #A4732A #5BA42A
monochromatic
#161143 #261E73 #362AA4 #4C3ECD #796EDA

Accessibility & contrast

On white

10.37
#362AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#362AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AA4
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA4#FFFFFF#000000##FFFFFF
##362AA41.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362aa4;
/* rgb */ color: rgb(54, 42, 164);
/* oklch */ color: oklch(39.0% 0.185 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c66c0',
    500: '#362aa4',
    950: '#000000',
  },
}
SCSS
$custom: #362aa4;
$custom-light: #7c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa4",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 245.902,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38979,
    "c": 0.18527,
    "h": 277.8
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#362AA4
secondary
#B8C169
accent
#E245D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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