#362D8B#362D8B

#362D8B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.150 H 280.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#362D8B
RGBrgb(54, 45, 139)
HSLhsl(246, 51%, 36%)
HSVhsv(246, 68%, 55%)
CMYKcmyk(61.2%, 67.6%, 0%, 45.5%)
CIE-LABlab(25.34, 32.59, -51.07)
CIE-LCHlch(25.34, 60.58, 302.54°)
OKLaboklab(37.01% 0.0273 -0.147)
OKLCHoklch(37.01% 0.15 280.5)
XYZxyz(7.1184, 4.5246, 24.9193)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362D8B #828B2D
analogous
#2D538B #362D8B #652D8B
triadic
#362D8B #8B362D #2D8B36
tetradic
#362D8B #8B2D53 #828B2D #2D8B65
square
#362D8B #8B2D53 #828B2D #2D8B65
split-complementary
#362D8B #8B652D #538B2D
monochromatic
#120F2F #241E5D #362D8B #483CB9 #6F65CD

Accessibility & contrast

On white

11.02
#362D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#362D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362D8B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362D8B#FFFFFF#000000##FFFFFF
##362D8B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #362d8b;
/* rgb */ color: rgb(54, 45, 139);
/* oklch */ color: oklch(37.0% 0.150 280.5);
Tailwind
colors: {
  custom: {
    50: '#7767ae',
    500: '#362d8b',
    950: '#000000',
  },
}
SCSS
$custom: #362d8b;
$custom-light: #7767ae;
$custom-dark: #000000;
JSON
{
  "hex": "#362d8b",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 245.745,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37008,
    "c": 0.14953,
    "h": 280.5
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#362D8B
secondary
#ACB460
accent
#DB4DCD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #362D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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