#362D9B#362D9B

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

Color values

HEX#362D9B
RGBrgb(54, 45, 155)
HSLhsl(245, 55%, 39%)
HSVhsv(245, 71%, 61%)
CMYKcmyk(65.2%, 71%, 0%, 39.2%)
CIE-LABlab(26.81, 37.96, -58.51)
CIE-LCHlch(26.81, 69.74, 302.97°)
OKLaboklab(38.52% 0.0249 -0.1688)
OKLCHoklch(38.52% 0.171 278.4)
XYZxyz(8.3742, 5.0269, 31.5330)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362D9B #929B2D
analogous
#2D5B9B #362D9B #6D2D9B
triadic
#362D9B #9B362D #2D9B36
tetradic
#362D9B #9B2D5B #929B2D #2D9B6D
square
#362D9B #9B2D5B #929B2D #2D9B6D
split-complementary
#362D9B #9B6D2D #5B9B2D
monochromatic
#15113C #251F6C #362D9B #493EC7 #766ED5

Accessibility & contrast

On white

10.47
#362D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#362D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362D9B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362D9B#FFFFFF#000000##FFFFFF
##362D9B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362d9b;
/* rgb */ color: rgb(54, 45, 155);
/* oklch */ color: oklch(38.5% 0.171 278.4);
Tailwind
colors: {
  custom: {
    50: '#7a67ba',
    500: '#362d9b',
    950: '#000000',
  },
}
SCSS
$custom: #362d9b;
$custom-light: #7a67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#362d9b",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 244.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38524,
    "c": 0.17066,
    "h": 278.4
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#362D9B
secondary
#B5BC68
accent
#DE49D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #362D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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