#362B79#362B79

#362B79 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.127 H 284.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#362B79
RGBrgb(54, 43, 121)
HSLhsl(248, 48%, 32%)
HSVhsv(248, 64%, 47%)
CMYKcmyk(55.4%, 64.5%, 0%, 52.5%)
CIE-LABlab(23.31, 27.80, -43.05)
CIE-LCHlch(23.31, 51.25, 302.85°)
OKLaboklab(35.05% 0.0311 -0.1235)
OKLCHoklch(35.05% 0.127 284.1)
XYZxyz(5.8353, 3.8922, 18.5292)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B79 #6E792B
analogous
#2B4779 #362B79 #5D2B79
triadic
#362B79 #79362B #2B7936
tetradic
#362B79 #792B47 #6E792B #2B795D
square
#362B79 #792B47 #6E792B #2B795D
split-complementary
#362B79 #795D2B #47792B
monochromatic
#0E0B1F #221B4C #362B79 #4A3BA6 #695AC4

Accessibility & contrast

On white

11.81
#362B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#362B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B79
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B79#FFFFFF#000000##FFFFFF
##362B791.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#1A3E4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362b79;
/* rgb */ color: rgb(54, 43, 121);
/* oklch */ color: oklch(35.1% 0.127 284.1);
Tailwind
colors: {
  custom: {
    50: '#7465a0',
    500: '#362b79',
    950: '#000000',
  },
}
SCSS
$custom: #362b79;
$custom-light: #7465a0;
$custom-dark: #000000;
JSON
{
  "hex": "#362b79",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 248.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.12733,
    "h": 284.1
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#362B79
secondary
#9EAA56
accent
#D751C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #362B79

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

Preview Lab → · Contrast checker → · Palette generator →

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