#362FA1#362FA1

#362FA1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.176 H 277.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#362FA1
RGBrgb(54, 47, 161)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 63%)
CMYKcmyk(66.5%, 70.8%, 0%, 36.9%)
CIE-LABlab(27.82, 38.76, -60.51)
CIE-LCHlch(27.82, 71.86, 302.64°)
OKLaboklab(39.42% 0.0225 -0.1747)
OKLCHoklch(39.42% 0.176 277.3)
XYZxyz(8.9688, 5.3898, 34.2790)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FA1 #9AA12F
analogous
#2F61A1 #362FA1 #6F2FA1
triadic
#362FA1 #A1362F #2FA136
tetradic
#362FA1 #A12F61 #9AA12F #2FA16F
square
#362FA1 #A12F61 #9AA12F #2FA16F
split-complementary
#362FA1 #A16F2F #61A12F
monochromatic
#161342 #262172 #362FA1 #4D45C9 #7A74D6

Accessibility & contrast

On white

10.10
#362FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#362FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362FA1
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FA1#FFFFFF#000000##FFFFFF
##362FA11.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362fa1;
/* rgb */ color: rgb(54, 47, 161);
/* oklch */ color: oklch(39.4% 0.176 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b69be',
    500: '#362fa1',
    950: '#000000',
  },
}
SCSS
$custom: #362fa1;
$custom-light: #7b69be;
$custom-dark: #000000;
JSON
{
  "hex": "#362fa1",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 243.684,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.17612,
    "h": 277.3
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#362FA1
secondary
#B9BE6E
accent
#DE4AD5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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