#362B98#362B98

#362B98 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.169 H 279.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#362B98
RGBrgb(54, 43, 152)
HSLhsl(246, 56%, 38%)
HSVhsv(246, 72%, 60%)
CMYKcmyk(64.5%, 71.7%, 0%, 40.4%)
CIE-LABlab(26.09, 38.15, -57.85)
CIE-LCHlch(26.09, 69.30, 303.40°)
OKLaboklab(37.92% 0.0269 -0.1669)
OKLCHoklch(37.92% 0.169 279.2)
XYZxyz(8.0509, 4.7784, 30.1977)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B98 #8D982B
analogous
#2B5698 #362B98 #6C2B98
triadic
#362B98 #98362B #2B9836
tetradic
#362B98 #982B56 #8D982B #2B986C
square
#362B98 #982B56 #8D982B #2B986C
split-complementary
#362B98 #986C2B #56982B
monochromatic
#141039 #251E68 #362B98 #4739C7 #7469D5

Accessibility & contrast

On white

10.74
#362B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#362B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B98
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B98#FFFFFF#000000##FFFFFF
##362B981.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #362b98;
/* rgb */ color: rgb(54, 43, 152);
/* oklch */ color: oklch(37.9% 0.169 279.2);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#362b98',
    950: '#000000',
  },
}
SCSS
$custom: #362b98;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362b98",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 246.055,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.16906,
    "h": 279.2
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#362B98
secondary
#B2BB64
accent
#DF49D0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362B98

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

Preview Lab → · Contrast checker → · Palette generator →

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