#362A79#362A79

#362A79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.129 H 284.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#362A79
RGBrgb(54, 42, 121)
HSLhsl(249, 48%, 32%)
HSVhsv(249, 65%, 47%)
CMYKcmyk(55.4%, 65.3%, 0%, 52.5%)
CIE-LABlab(23.07, 28.44, -43.45)
CIE-LCHlch(23.07, 51.93, 303.21°)
OKLaboklab(34.88% 0.0321 -0.1247)
OKLCHoklch(34.88% 0.129 284.5)
XYZxyz(5.7994, 3.8204, 18.5173)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A79 #6D792A
analogous
#2A4679 #362A79 #5E2A79
triadic
#362A79 #79362A #2A7936
tetradic
#362A79 #792A46 #6D792A #2A795E
square
#362A79 #792A46 #6D792A #2A795E
split-complementary
#362A79 #795E2A #46792A
monochromatic
#0D0A1E #221A4C #362A79 #4A3AA6 #6958C5

Accessibility & contrast

On white

11.90
#362A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#362A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A79
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A79#FFFFFF#000000##FFFFFF
##362A791.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#1A3D4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #362a79;
/* rgb */ color: rgb(54, 42, 121);
/* oklch */ color: oklch(34.9% 0.129 284.5);
Tailwind
colors: {
  custom: {
    50: '#7464a0',
    500: '#362a79',
    950: '#000000',
  },
}
SCSS
$custom: #362a79;
$custom-light: #7464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#362a79",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 249.114,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.12873,
    "h": 284.5
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#362A79
secondary
#9DAB54
accent
#D850C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #362A79

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

Preview Lab → · Contrast checker → · Palette generator →

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