#362A97#362A97

#362A97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.169 H 279.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#362A97
RGBrgb(54, 42, 151)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 59%)
CMYKcmyk(64.2%, 72.2%, 0%, 40.8%)
CIE-LABlab(25.78, 38.41, -57.75)
CIE-LCHlch(25.78, 69.35, 303.63°)
OKLaboklab(37.67% 0.0278 -0.1666)
OKLCHoklch(37.67% 0.169 279.5)
XYZxyz(7.9334, 4.6739, 29.7562)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A97 #8B972A
analogous
#2A5497 #362A97 #6D2A97
triadic
#362A97 #97362A #2A9736
tetradic
#362A97 #972A54 #8B972A #2A976D
square
#362A97 #972A54 #8B972A #2A976D
split-complementary
#362A97 #976D2A #54972A
monochromatic
#140F37 #251D67 #362A97 #4737C7 #7367D5

Accessibility & contrast

On white

10.85
#362A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#362A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A97
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A97#FFFFFF#000000##FFFFFF
##362A971.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362a97;
/* rgb */ color: rgb(54, 42, 151);
/* oklch */ color: oklch(37.7% 0.169 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a65b7',
    500: '#362a97',
    950: '#000000',
  },
}
SCSS
$custom: #362a97;
$custom-light: #7a65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362a97",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 246.606,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.1689,
    "h": 279.5
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#362A97
secondary
#B1BB62
accent
#E048CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362A97

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

Preview Lab → · Contrast checker → · Palette generator →

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