#362AA7#362AA7

#362AA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.189 H 277.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#362AA7
RGBrgb(54, 42, 167)
HSLhsl(246, 60%, 41%)
HSVhsv(246, 75%, 65%)
CMYKcmyk(67.7%, 74.9%, 0%, 34.5%)
CIE-LABlab(27.38, 43.61, -64.86)
CIE-LCHlch(27.38, 78.16, 303.91°)
OKLaboklab(39.29% 0.0246 -0.1874)
OKLCHoklch(39.29% 0.189 277.5)
XYZxyz(9.3221, 5.2294, 37.0698)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA7 #9BA72A
analogous
#2A5CA7 #362AA7 #742AA7
triadic
#362AA7 #A7362A #2AA736
tetradic
#362AA7 #A72A5C #9BA72A #2AA774
square
#362AA7 #A72A5C #9BA72A #2AA774
split-complementary
#362AA7 #A7742A #5CA72A
monochromatic
#161145 #261E76 #362AA7 #4D3FCF #7B70DB

Accessibility & contrast

On white

10.26
#362AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#362AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AA7
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA7#FFFFFF#000000##FFFFFF
##362AA71.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362aa7;
/* rgb */ color: rgb(54, 42, 167);
/* oklch */ color: oklch(39.3% 0.189 277.5);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#362aa7',
    950: '#000000',
  },
}
SCSS
$custom: #362aa7;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa7",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 245.76,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39286,
    "c": 0.18898,
    "h": 277.5
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#362AA7
secondary
#BAC26B
accent
#E345D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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