#362B71#362B71

#362B71 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.4% C 0.116 H 285.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#362B71
RGBrgb(54, 43, 113)
HSLhsl(249, 45%, 31%)
HSVhsv(249, 62%, 44%)
CMYKcmyk(52.2%, 61.9%, 0%, 55.7%)
CIE-LABlab(22.67, 25.13, -38.99)
CIE-LCHlch(22.67, 46.38, 302.80°)
OKLaboklab(34.38% 0.0315 -0.1115)
OKLCHoklch(34.38% 0.116 285.8)
XYZxyz(5.3650, 3.7040, 16.0518)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B71 #66712B
analogous
#2B4371 #362B71 #592B71
triadic
#362B71 #71362B #2B7136
tetradic
#362B71 #712B43 #66712B #2B7159
square
#362B71 #712B43 #66712B #2B7159
split-complementary
#362B71 #71592B #43712B
monochromatic
#0C0918 #211A45 #362B71 #4B3C9D #6857BF

Accessibility & contrast

On white

12.06
#362B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#362B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B71
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B71#FFFFFF#000000##FFFFFF
##362B711.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#213B49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362b71;
/* rgb */ color: rgb(54, 43, 113);
/* oklch */ color: oklch(34.4% 0.116 285.8);
Tailwind
colors: {
  custom: {
    50: '#72659a',
    500: '#362b71',
    950: '#000000',
  },
}
SCSS
$custom: #362b71;
$custom-light: #72659a;
$custom-dark: #000000;
JSON
{
  "hex": "#362b71",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 249.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.11588,
    "h": 285.8
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#362B71
secondary
#97A355
accent
#D553C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #362B71

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

Preview Lab → · Contrast checker → · Palette generator →

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