#363397#363397

#363397 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.158 H 277.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#363397
RGBrgb(54, 51, 151)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 66%, 59%)
CMYKcmyk(64.2%, 66.2%, 0%, 40.8%)
CIE-LABlab(27.81, 32.91, -54.43)
CIE-LCHlch(27.81, 63.61, 301.16°)
OKLaboklab(39.13% 0.0207 -0.1569)
OKLCHoklch(39.13% 0.158 277.5)
XYZxyz(8.2893, 5.3856, 29.8749)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363397 #949733
analogous
#336297 #363397 #683397
triadic
#363397 #973633 #339736
tetradic
#363397 #973362 #949733 #339768
square
#363397 #973362 #949733 #339768
split-complementary
#363397 #976833 #629733
monochromatic
#15143C #262469 #363397 #4A47C1 #7774D0

Accessibility & contrast

On white

10.11
#363397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#363397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363397
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363397#FFFFFF#000000##FFFFFF
##3633971.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #363397;
/* rgb */ color: rgb(54, 51, 151);
/* oklch */ color: oklch(39.1% 0.158 277.5);
Tailwind
colors: {
  custom: {
    50: '#796bb6',
    500: '#363397',
    950: '#000000',
  },
}
SCSS
$custom: #363397;
$custom-light: #796bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#363397",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 241.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.15824,
    "h": 277.5
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#363397
secondary
#B6B86D
accent
#D94FD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #363397

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

Preview Lab → · Contrast checker → · Palette generator →

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