#362A8B#362A8B

#362A8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.153 H 281.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#362A8B
RGBrgb(54, 42, 139)
HSLhsl(247, 54%, 35%)
HSVhsv(247, 70%, 55%)
CMYKcmyk(61.2%, 69.8%, 0%, 45.5%)
CIE-LABlab(24.65, 34.44, -52.19)
CIE-LCHlch(24.65, 62.53, 303.42°)
OKLaboklab(36.51% 0.0299 -0.1503)
OKLCHoklch(36.51% 0.153 281.3)
XYZxyz(7.0080, 4.3038, 24.8825)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A8B #7F8B2A
analogous
#2A4E8B #362A8B #662A8B
triadic
#362A8B #8B362A #2A8B36
tetradic
#362A8B #8B2A4E #7F8B2A #2A8B66
square
#362A8B #8B2A4E #7F8B2A #2A8B66
split-complementary
#362A8B #8B662A #4E8B2A
monochromatic
#110E2D #241C5C #362A8B #4838BA #6E60CF

Accessibility & contrast

On white

11.29
#362A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#362A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A8B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A8B#FFFFFF#000000##FFFFFF
##362A8B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362a8b;
/* rgb */ color: rgb(54, 42, 139);
/* oklch */ color: oklch(36.5% 0.153 281.3);
Tailwind
colors: {
  custom: {
    50: '#7765ae',
    500: '#362a8b',
    950: '#000000',
  },
}
SCSS
$custom: #362a8b;
$custom-light: #7765ae;
$custom-dark: #000000;
JSON
{
  "hex": "#362a8b",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 247.423,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.15326,
    "h": 281.3
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#362A8B
secondary
#AAB55C
accent
#DD4BCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #362A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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