#362DA1#362DA1

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

Color values

HEX#362DA1
RGBrgb(54, 45, 161)
HSLhsl(245, 56%, 40%)
HSVhsv(245, 72%, 63%)
CMYKcmyk(66.5%, 72%, 0%, 36.9%)
CIE-LABlab(27.39, 39.94, -61.21)
CIE-LCHlch(27.39, 73.09, 303.13°)
OKLaboklab(39.11% 0.0239 -0.1767)
OKLCHoklch(39.11% 0.178 277.7)
XYZxyz(8.8906, 5.2335, 34.2529)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362DA1 #98A12D
analogous
#2D5EA1 #362DA1 #702DA1
triadic
#362DA1 #A1362D #2DA136
tetradic
#362DA1 #A12D5E #98A12D #2DA170
square
#362DA1 #A12D5E #98A12D #2DA170
split-complementary
#362DA1 #A1702D #5EA12D
monochromatic
#161241 #262071 #362DA1 #4C41CA #7971D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##362DA1#FFFFFF#000000##FFFFFF
##362DA11.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)
#0045A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362da1;
/* rgb */ color: rgb(54, 45, 161);
/* oklch */ color: oklch(39.1% 0.178 277.7);
Tailwind
colors: {
  custom: {
    50: '#7b67be',
    500: '#362da1',
    950: '#000000',
  },
}
SCSS
$custom: #362da1;
$custom-light: #7b67be;
$custom-dark: #000000;
JSON
{
  "hex": "#362da1",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 244.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39114,
    "c": 0.17833,
    "h": 277.7
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#362DA1
secondary
#B8BF6B
accent
#E048D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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