#362CA4#362CA4

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

Color values

HEX#362CA4
RGBrgb(54, 44, 164)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 73%, 64%)
CMYKcmyk(67.1%, 73.2%, 0%, 35.7%)
CIE-LABlab(27.48, 41.51, -62.89)
CIE-LCHlch(27.48, 75.35, 303.43°)
OKLaboklab(39.27% 0.024 -0.1816)
OKLCHoklch(39.27% 0.183 277.5)
XYZxyz(9.1207, 5.2652, 35.6504)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362CA4 #9AA42C
analogous
#2C5EA4 #362CA4 #722CA4
triadic
#362CA4 #A4362C #2CA436
tetradic
#362CA4 #A42C5E #9AA42C #2CA472
square
#362CA4 #A42C5E #9AA42C #2CA472
split-complementary
#362CA4 #A4722C #5EA42C
monochromatic
#161243 #261F74 #362CA4 #4D41CC #7A71D9

Accessibility & contrast

On white

10.23
#362CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362CA4
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362CA4#FFFFFF#000000##FFFFFF
##362CA41.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ca4;
/* rgb */ color: rgb(54, 44, 164);
/* oklch */ color: oklch(39.3% 0.183 277.5);
Tailwind
colors: {
  custom: {
    50: '#7c67c0',
    500: '#362ca4',
    950: '#000000',
  },
}
SCSS
$custom: #362ca4;
$custom-light: #7c67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#362ca4",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 245,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.18319,
    "h": 277.5
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#362CA4
secondary
#B9C06B
accent
#E147D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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