#363797#363797

#363797 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.153 H 276.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#363797
RGBrgb(54, 55, 151)
HSLhsl(239, 47%, 40%)
HSVhsv(239, 64%, 59%)
CMYKcmyk(64.2%, 63.6%, 0%, 40.8%)
CIE-LABlab(28.77, 30.36, -52.85)
CIE-LCHlch(28.77, 60.95, 299.87°)
OKLaboklab(39.84% 0.0172 -0.1522)
OKLCHoklch(39.84% 0.153 276.4)
XYZxyz(8.4716, 5.7503, 29.9356)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363797 #979636
analogous
#366897 #363797 #653697
triadic
#363797 #973637 #379736
tetradic
#363797 #973668 #979636 #369765
square
#363797 #973668 #979636 #369765
split-complementary
#363797 #976536 #689736
monochromatic
#16163D #26276A #363797 #4B4DBF #7879CF

Accessibility & contrast

On white

9.77
#363797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#363797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363797
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363797#FFFFFF#000000##FFFFFF
##3637971.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #363797;
/* rgb */ color: rgb(54, 55, 151);
/* oklch */ color: oklch(39.8% 0.153 276.4);
Tailwind
colors: {
  custom: {
    50: '#796eb6',
    500: '#363797',
    950: '#000000',
  },
}
SCSS
$custom: #363797;
$custom-light: #796eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#363797",
  "rgb": {
    "r": 54,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 239.381,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.1532,
    "h": 276.4
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#363797
secondary
#B8B771
accent
#D651D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #363797

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

Preview Lab → · Contrast checker → · Palette generator →

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