#362AB6#362AB6

#362AB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.207 H 275.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#362AB6
RGBrgb(54, 42, 182)
HSLhsl(245, 63%, 44%)
HSVhsv(245, 77%, 71%)
CMYKcmyk(70.3%, 76.9%, 0%, 28.6%)
CIE-LABlab(28.95, 48.37, -71.26)
CIE-LCHlch(28.95, 86.13, 304.17°)
OKLaboklab(40.86% 0.0212 -0.206)
OKLCHoklch(40.86% 0.207 275.9)
XYZxyz(10.7900, 5.8166, 44.8010)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AB6 #AAB62A
analogous
#2A64B6 #362AB6 #7C2AB6
triadic
#362AB6 #B6362A #2AB636
tetradic
#362AB6 #B62A64 #AAB62A #2AB67C
square
#362AB6 #B62A64 #AAB62A #2AB67C
split-complementary
#362AB6 #B67C2A #64B62A
monochromatic
#181353 #271F84 #362AB6 #5448D5 #837AE0

Accessibility & contrast

On white

9.71
#362AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#362AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AB6
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AB6#FFFFFF#000000##FFFFFF
##362AB61.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #362ab6;
/* rgb */ color: rgb(54, 42, 182);
/* oklch */ color: oklch(40.9% 0.207 275.9);
Tailwind
colors: {
  custom: {
    50: '#8067cd',
    500: '#362ab6',
    950: '#000000',
  },
}
SCSS
$custom: #362ab6;
$custom-light: #8067cd;
$custom-dark: #000000;
JSON
{
  "hex": "#362ab6",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 245.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.20711,
    "h": 275.9
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#362AB6
secondary
#C1C873
accent
#E642D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #362AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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