#362B72#362B72

#362B72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.5% C 0.117 H 285.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#362B72
RGBrgb(54, 43, 114)
HSLhsl(249, 45%, 31%)
HSVhsv(249, 62%, 45%)
CMYKcmyk(52.6%, 62.3%, 0%, 55.3%)
CIE-LABlab(22.75, 25.46, -39.50)
CIE-LCHlch(22.75, 46.99, 302.81°)
OKLaboklab(34.46% 0.0314 -0.113)
OKLCHoklch(34.46% 0.117 285.5)
XYZxyz(5.4216, 3.7267, 16.3500)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B72 #67722B
analogous
#2B4372 #362B72 #592B72
triadic
#362B72 #72362B #2B7236
tetradic
#362B72 #722B43 #67722B #2B7259
square
#362B72 #722B43 #67722B #2B7259
split-complementary
#362B72 #72592B #43722B
monochromatic
#0C0919 #211A46 #362B72 #4B3C9E #6858C0

Accessibility & contrast

On white

12.03
#362B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#362B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B72
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B72#FFFFFF#000000##FFFFFF
##362B721.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#203B4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362b72;
/* rgb */ color: rgb(54, 43, 114);
/* oklch */ color: oklch(34.5% 0.117 285.5);
Tailwind
colors: {
  custom: {
    50: '#73659b',
    500: '#362b72',
    950: '#000000',
  },
}
SCSS
$custom: #362b72;
$custom-light: #73659b;
$custom-dark: #000000;
JSON
{
  "hex": "#362b72",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 249.296,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.11733,
    "h": 285.5
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#362B72
secondary
#98A455
accent
#D553C1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #362B72

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

Preview Lab → · Contrast checker → · Palette generator →

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