#363799#363799

#363799 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.156 H 276.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#363799
RGBrgb(54, 55, 153)
HSLhsl(239, 48%, 41%)
HSVhsv(239, 65%, 60%)
CMYKcmyk(64.7%, 64.1%, 0%, 40%)
CIE-LABlab(28.94, 31.06, -53.80)
CIE-LCHlch(28.94, 62.12, 300.00°)
OKLaboklab(40.01% 0.0171 -0.155)
OKLCHoklch(40.01% 0.156 276.3)
XYZxyz(8.6354, 5.8158, 30.7983)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363799 #999836
analogous
#366899 #363799 #663699
triadic
#363799 #993637 #379936
tetradic
#363799 #993668 #999836 #369966
square
#363799 #993668 #999836 #369966
split-complementary
#363799 #996636 #689936
monochromatic
#16163F #26276C #363799 #4C4DC0 #7A7AD0

Accessibility & contrast

On white

9.71
#363799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#363799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363799
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363799#FFFFFF#000000##FFFFFF
##3637991.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #363799;
/* rgb */ color: rgb(54, 55, 153);
/* oklch */ color: oklch(40.0% 0.156 276.3);
Tailwind
colors: {
  custom: {
    50: '#796eb8',
    500: '#363799',
    950: '#000000',
  },
}
SCSS
$custom: #363799;
$custom-light: #796eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#363799",
  "rgb": {
    "r": 54,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 239.394,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.15594,
    "h": 276.3
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#363799
secondary
#B9B872
accent
#D650D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #363799

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

Preview Lab → · Contrast checker → · Palette generator →

#363799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva