#362CA1#362CA1

#362CA1 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.179 H 277.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#362CA1
RGBrgb(54, 44, 161)
HSLhsl(245, 57%, 40%)
HSVhsv(245, 73%, 63%)
CMYKcmyk(66.5%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.18, 40.53, -61.56)
CIE-LCHlch(27.18, 73.70, 303.36°)
OKLaboklab(38.96% 0.0245 -0.1777)
OKLCHoklch(38.96% 0.179 277.9)
XYZxyz(8.8529, 5.1581, 34.2404)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362CA1 #97A12C
analogous
#2C5DA1 #362CA1 #702CA1
triadic
#362CA1 #A1362C #2CA136
tetradic
#362CA1 #A12C5D #97A12C #2CA170
square
#362CA1 #A12C5D #97A12C #2CA170
split-complementary
#362CA1 #A1702C #5DA12C
monochromatic
#161241 #261F71 #362CA1 #4B40CB #7870D8

Accessibility & contrast

On white

10.34
#362CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#362CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362CA1
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362CA1#FFFFFF#000000##FFFFFF
##362CA11.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362ca1;
/* rgb */ color: rgb(54, 44, 161);
/* oklch */ color: oklch(39.0% 0.179 277.9);
Tailwind
colors: {
  custom: {
    50: '#7c67be',
    500: '#362ca1',
    950: '#000000',
  },
}
SCSS
$custom: #362ca1;
$custom-light: #7c67be;
$custom-dark: #000000;
JSON
{
  "hex": "#362ca1",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 245.128,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.17941,
    "h": 277.9
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#362CA1
secondary
#B8BF6A
accent
#E047D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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