#362B95#362B95

#362B95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.165 H 279.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#362B95
RGBrgb(54, 43, 149)
HSLhsl(246, 55%, 38%)
HSVhsv(246, 71%, 58%)
CMYKcmyk(63.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.81, 37.16, -56.48)
CIE-LCHlch(25.81, 67.61, 303.34°)
OKLaboklab(37.63% 0.0274 -0.1629)
OKLCHoklch(37.63% 0.165 279.6)
XYZxyz(7.8083, 4.6814, 28.9201)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B95 #8A952B
analogous
#2B5595 #362B95 #6B2B95
triadic
#362B95 #95362B #2B9536
tetradic
#362B95 #952B55 #8A952B #2B956B
square
#362B95 #952B55 #8A952B #2B956B
split-complementary
#362B95 #956B2B #55952B
monochromatic
#141036 #251D66 #362B95 #4739C4 #7267D3

Accessibility & contrast

On white

10.84
#362B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362B95
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B95#FFFFFF#000000##FFFFFF
##362B951.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362b95;
/* rgb */ color: rgb(54, 43, 149);
/* oklch */ color: oklch(37.6% 0.165 279.6);
Tailwind
colors: {
  custom: {
    50: '#7966b5',
    500: '#362b95',
    950: '#000000',
  },
}
SCSS
$custom: #362b95;
$custom-light: #7966b5;
$custom-dark: #000000;
JSON
{
  "hex": "#362b95",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 246.226,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3763,
    "c": 0.16519,
    "h": 279.6
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#362B95
secondary
#B1BA62
accent
#DF49CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362B95

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

Preview Lab → · Contrast checker → · Palette generator →

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