#362B9E#362B9E

#362B9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.177 H 278.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#362B9E
RGBrgb(54, 43, 158)
HSLhsl(246, 57%, 39%)
HSVhsv(246, 73%, 62%)
CMYKcmyk(65.8%, 72.8%, 0%, 38%)
CIE-LABlab(26.68, 40.12, -60.56)
CIE-LCHlch(26.68, 72.64, 303.52°)
OKLaboklab(38.52% 0.0258 -0.1748)
OKLCHoklch(38.52% 0.177 278.4)
XYZxyz(8.5548, 4.9799, 32.8515)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B9E #939E2B
analogous
#2B5A9E #362B9E #702B9E
triadic
#362B9E #9E362B #2B9E36
tetradic
#362B9E #9E2B5A #939E2B #2B9E70
square
#362B9E #9E2B5A #939E2B #2B9E70
split-complementary
#362B9E #9E702B #5A9E2B
monochromatic
#15113E #261E6E #362B9E #4A3CCA #776CD7

Accessibility & contrast

On white

10.52
#362B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#362B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B9E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B9E#FFFFFF#000000##FFFFFF
##362B9E1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362b9e;
/* rgb */ color: rgb(54, 43, 158);
/* oklch */ color: oklch(38.5% 0.177 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b66bc',
    500: '#362b9e',
    950: '#000000',
  },
}
SCSS
$custom: #362b9e;
$custom-light: #7b66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#362b9e",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 245.739,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.17671,
    "h": 278.4
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#362B9E
secondary
#B6BE67
accent
#E047D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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