#362A98#362A98

#362A98 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.170 H 279.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#362A98
RGBrgb(54, 42, 152)
HSLhsl(247, 57%, 38%)
HSVhsv(247, 72%, 60%)
CMYKcmyk(64.5%, 72.4%, 0%, 40.4%)
CIE-LABlab(25.88, 38.73, -58.20)
CIE-LCHlch(25.88, 69.91, 303.65°)
OKLaboklab(37.77% 0.0277 -0.1679)
OKLCHoklch(37.77% 0.17 279.4)
XYZxyz(8.0150, 4.7066, 30.1858)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A98 #8C982A
analogous
#2A5598 #362A98 #6D2A98
triadic
#362A98 #98362A #2A9836
tetradic
#362A98 #982A55 #8C982A #2A986D
square
#362A98 #982A55 #8C982A #2A986D
split-complementary
#362A98 #986D2A #55982A
monochromatic
#141038 #251D68 #362A98 #4737C8 #7367D5

Accessibility & contrast

On white

10.82
#362A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362A98
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A98#FFFFFF#000000##FFFFFF
##362A981.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362a98;
/* rgb */ color: rgb(54, 42, 152);
/* oklch */ color: oklch(37.8% 0.170 279.4);
Tailwind
colors: {
  custom: {
    50: '#7a65b7',
    500: '#362a98',
    950: '#000000',
  },
}
SCSS
$custom: #362a98;
$custom-light: #7a65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362a98",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 246.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.17018,
    "h": 279.4
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362A98

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

Preview Lab → · Contrast checker → · Palette generator →

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