#363899#363899

#363899 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.155 H 276.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#363899
RGBrgb(54, 56, 153)
HSLhsl(239, 48%, 41%)
HSVhsv(239, 65%, 60%)
CMYKcmyk(64.7%, 63.4%, 0%, 40%)
CIE-LABlab(29.19, 30.41, -53.40)
CIE-LCHlch(29.19, 61.45, 299.66°)
OKLaboklab(40.19% 0.0162 -0.1538)
OKLCHoklch(40.19% 0.155 276)
XYZxyz(8.6834, 5.9118, 30.8143)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363899 #999736
analogous
#366999 #363899 #653699
triadic
#363899 #993638 #389936
tetradic
#363899 #993669 #999736 #369965
square
#363899 #993669 #999736 #369965
split-complementary
#363899 #996536 #699936
monochromatic
#16173F #26276C #363899 #4C4FC0 #7A7BD0

Accessibility & contrast

On white

9.62
#363899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#363899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363899
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363899#FFFFFF#000000##FFFFFF
##3638991.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #363899;
/* rgb */ color: rgb(54, 56, 153);
/* oklch */ color: oklch(40.2% 0.155 276.0);
Tailwind
colors: {
  custom: {
    50: '#796fb8',
    500: '#363899',
    950: '#000000',
  },
}
SCSS
$custom: #363899;
$custom-light: #796fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#363899",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 238.788,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40194,
    "c": 0.15467,
    "h": 276
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#363899
secondary
#B9B772
accent
#D550D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #363899

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

Preview Lab → · Contrast checker → · Palette generator →

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