#362FA6#362FA6

#362FA6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.182 H 276.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#362FA6
RGBrgb(54, 47, 166)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(67.5%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.30, 40.43, -62.74)
CIE-LCHlch(28.30, 74.64, 302.80°)
OKLaboklab(39.91% 0.0216 -0.1812)
OKLCHoklch(39.91% 0.182 276.8)
XYZxyz(9.4185, 5.5697, 36.6477)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FA6 #9FA62F
analogous
#2F64A6 #362FA6 #722FA6
triadic
#362FA6 #A6362F #2FA636
tetradic
#362FA6 #A62F64 #9FA62F #2FA672
square
#362FA6 #A62F64 #9FA62F #2FA672
split-complementary
#362FA6 #A6722F #64A62F
monochromatic
#171447 #262176 #362FA6 #4F47CB #7D77D8

Accessibility & contrast

On white

9.93
#362FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#362FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362FA6
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FA6#FFFFFF#000000##FFFFFF
##362FA61.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #362fa6;
/* rgb */ color: rgb(54, 47, 166);
/* oklch */ color: oklch(39.9% 0.182 276.8);
Tailwind
colors: {
  custom: {
    50: '#7c69c2',
    500: '#362fa6',
    950: '#000000',
  },
}
SCSS
$custom: #362fa6;
$custom-light: #7c69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#362fa6",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 243.529,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.18249,
    "h": 276.8
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#362FA6
secondary
#BCC170
accent
#DF49D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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