#362A99#362A99

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

Color values

HEX#362A99
RGBrgb(54, 42, 153)
HSLhsl(246, 57%, 38%)
HSVhsv(246, 73%, 60%)
CMYKcmyk(64.7%, 72.5%, 0%, 40%)
CIE-LABlab(25.98, 39.06, -58.65)
CIE-LCHlch(25.98, 70.47, 303.66°)
OKLaboklab(37.87% 0.0275 -0.1692)
OKLCHoklch(37.87% 0.171 279.2)
XYZxyz(8.0972, 4.7395, 30.6189)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A99 #8D992A
analogous
#2A5699 #362A99 #6D2A99
triadic
#362A99 #99362A #2A9936
tetradic
#362A99 #992A56 #8D992A #2A996D
square
#362A99 #992A56 #8D992A #2A996D
split-complementary
#362A99 #996D2A #56992A
monochromatic
#141039 #251D69 #362A99 #4738C8 #7468D6

Accessibility & contrast

On white

10.78
#362A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#362A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A99
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A99#FFFFFF#000000##FFFFFF
##362A991.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362a99;
/* rgb */ color: rgb(54, 42, 153);
/* oklch */ color: oklch(37.9% 0.171 279.2);
Tailwind
colors: {
  custom: {
    50: '#7a65b8',
    500: '#362a99',
    950: '#000000',
  },
}
SCSS
$custom: #362a99;
$custom-light: #7a65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#362a99",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 246.486,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37871,
    "c": 0.17145,
    "h": 279.2
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#362A99
secondary
#B2BC63
accent
#E048D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362A99

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

Preview Lab → · Contrast checker → · Palette generator →

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