#363897#363897

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

Color values

HEX#363897
RGBrgb(54, 56, 151)
HSLhsl(239, 47%, 40%)
HSVhsv(239, 64%, 59%)
CMYKcmyk(64.2%, 62.9%, 0%, 40.8%)
CIE-LABlab(29.02, 29.71, -52.45)
CIE-LCHlch(29.02, 60.28, 299.53°)
OKLaboklab(40.02% 0.0163 -0.151)
OKLCHoklch(40.02% 0.152 276.2)
XYZxyz(8.5196, 5.8463, 29.9516)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363897 #979536
analogous
#366897 #363897 #643697
triadic
#363897 #973638 #389736
tetradic
#363897 #973668 #979536 #369764
square
#363897 #973668 #979536 #369764
split-complementary
#363897 #976436 #689736
monochromatic
#16173D #26276A #363897 #4B4EBF #787ACF

Accessibility & contrast

On white

9.68
#363897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#363897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363897
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363897#FFFFFF#000000##FFFFFF
##3638971.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #363897;
/* rgb */ color: rgb(54, 56, 151);
/* oklch */ color: oklch(40.0% 0.152 276.2);
Tailwind
colors: {
  custom: {
    50: '#786fb6',
    500: '#363897',
    950: '#000000',
  },
}
SCSS
$custom: #363897;
$custom-light: #786fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#363897",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 238.763,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.15191,
    "h": 276.2
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#363897
secondary
#B8B671
accent
#D451D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #363897

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

Preview Lab → · Contrast checker → · Palette generator →

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