#363399#363399

#363399 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.161 H 277.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#363399
RGBrgb(54, 51, 153)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 60%)
CMYKcmyk(64.7%, 66.7%, 0%, 40%)
CIE-LABlab(27.98, 33.60, -55.37)
CIE-LCHlch(27.98, 64.77, 301.25°)
OKLaboklab(39.31% 0.0205 -0.1596)
OKLCHoklch(39.31% 0.161 277.3)
XYZxyz(8.4531, 5.4511, 30.7375)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363399 #969933
analogous
#336399 #363399 #693399
triadic
#363399 #993633 #339936
tetradic
#363399 #993363 #969933 #339969
square
#363399 #993363 #969933 #339969
split-complementary
#363399 #996933 #639933
monochromatic
#16143D #26246B #363399 #4B47C2 #7875D1

Accessibility & contrast

On white

10.05
#363399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#363399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363399
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363399#FFFFFF#000000##FFFFFF
##3633991.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #363399;
/* rgb */ color: rgb(54, 51, 153);
/* oklch */ color: oklch(39.3% 0.161 277.3);
Tailwind
colors: {
  custom: {
    50: '#796bb8',
    500: '#363399',
    950: '#000000',
  },
}
SCSS
$custom: #363399;
$custom-light: #796bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#363399",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 241.765,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.39314,
    "c": 0.16093,
    "h": 277.3
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#363399
secondary
#B7B96E
accent
#DA4ED5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #363399

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

Preview Lab → · Contrast checker → · Palette generator →

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