#362AA6#362AA6

#362AA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.188 H 277.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#362AA6
RGBrgb(54, 42, 166)
HSLhsl(246, 60%, 41%)
HSVhsv(246, 75%, 65%)
CMYKcmyk(67.5%, 74.7%, 0%, 34.9%)
CIE-LABlab(27.28, 43.28, -64.43)
CIE-LCHlch(27.28, 77.62, 303.89°)
OKLaboklab(39.18% 0.0248 -0.1861)
OKLCHoklch(39.18% 0.188 277.6)
XYZxyz(9.2300, 5.1926, 36.5849)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA6 #9AA62A
analogous
#2A5CA6 #362AA6 #742AA6
triadic
#362AA6 #A6362A #2AA636
tetradic
#362AA6 #A62A5C #9AA62A #2AA674
square
#362AA6 #A62A5C #9AA62A #2AA674
split-complementary
#362AA6 #A6742A #5CA62A
monochromatic
#161144 #261E75 #362AA6 #4D3FCE #7A70DB

Accessibility & contrast

On white

10.30
#362AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#362AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AA6
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA6#FFFFFF#000000##FFFFFF
##362AA61.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362aa6;
/* rgb */ color: rgb(54, 42, 166);
/* oklch */ color: oklch(39.2% 0.188 277.6);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#362aa6',
    950: '#000000',
  },
}
SCSS
$custom: #362aa6;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa6",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 245.806,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.18774,
    "h": 277.6
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#362AA6
secondary
#B9C26A
accent
#E345D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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