#362A8D#362A8D

#362A8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.156 H 280.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#362A8D
RGBrgb(54, 42, 141)
HSLhsl(247, 54%, 36%)
HSVhsv(247, 70%, 55%)
CMYKcmyk(61.7%, 70.2%, 0%, 44.7%)
CIE-LABlab(24.84, 35.11, -53.13)
CIE-LCHlch(24.84, 63.68, 303.46°)
OKLaboklab(36.7% 0.0296 -0.1531)
OKLCHoklch(36.7% 0.156 280.9)
XYZxyz(7.1555, 4.3628, 25.6592)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A8D #818D2A
analogous
#2A4F8D #362A8D #672A8D
triadic
#362A8D #8D362A #2A8D36
tetradic
#362A8D #8D2A4F #818D2A #2A8D67
square
#362A8D #8D2A4F #818D2A #2A8D67
split-complementary
#362A8D #8D672A #4F8D2A
monochromatic
#120E2F #241C5E #362A8D #4838BC #6F61D0

Accessibility & contrast

On white

11.21
#362A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#362A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A8D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A8D#FFFFFF#000000##FFFFFF
##362A8D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362a8d;
/* rgb */ color: rgb(54, 42, 141);
/* oklch */ color: oklch(36.7% 0.156 280.9);
Tailwind
colors: {
  custom: {
    50: '#7865af',
    500: '#362a8d',
    950: '#000000',
  },
}
SCSS
$custom: #362a8d;
$custom-light: #7865af;
$custom-dark: #000000;
JSON
{
  "hex": "#362a8d",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 247.273,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36704,
    "c": 0.15591,
    "h": 280.9
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#362A8D
secondary
#ABB65D
accent
#DD4ACC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #362A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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