#362C98#362C98

#362C98 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.168 H 279.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#362C98
RGBrgb(54, 44, 152)
HSLhsl(246, 55%, 38%)
HSVhsv(246, 71%, 60%)
CMYKcmyk(64.5%, 71.1%, 0%, 40.4%)
CIE-LABlab(26.31, 37.55, -57.50)
CIE-LCHlch(26.31, 68.68, 303.15°)
OKLaboklab(38.08% 0.0262 -0.1659)
OKLCHoklch(38.08% 0.168 279)
XYZxyz(8.0877, 4.8520, 30.2100)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362C98 #8E982C
analogous
#2C5898 #362C98 #6C2C98
triadic
#362C98 #98362C #2C9836
tetradic
#362C98 #982C58 #8E982C #2C986C
square
#362C98 #982C58 #8E982C #2C986C
split-complementary
#362C98 #986C2C #58982C
monochromatic
#141139 #251E69 #362C98 #483BC6 #746AD4

Accessibility & contrast

On white

10.66
#362C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#362C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362C98
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362C98#FFFFFF#000000##FFFFFF
##362C981.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362c98;
/* rgb */ color: rgb(54, 44, 152);
/* oklch */ color: oklch(38.1% 0.168 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#362c98',
    950: '#000000',
  },
}
SCSS
$custom: #362c98;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362c98",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 245.556,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.16792,
    "h": 279
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#362C98
secondary
#B3BB65
accent
#DE49D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362C98

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

Preview Lab → · Contrast checker → · Palette generator →

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