#363898#363898

#363898 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.153 H 276.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#363898
RGBrgb(54, 56, 152)
HSLhsl(239, 48%, 40%)
HSVhsv(239, 64%, 60%)
CMYKcmyk(64.5%, 63.2%, 0%, 40.4%)
CIE-LABlab(29.10, 30.06, -52.92)
CIE-LCHlch(29.10, 60.87, 299.60°)
OKLaboklab(40.11% 0.0163 -0.1524)
OKLCHoklch(40.11% 0.153 276.1)
XYZxyz(8.6011, 5.8789, 30.3812)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363898 #989636
analogous
#366998 #363898 #653698
triadic
#363898 #983638 #389836
tetradic
#363898 #983669 #989636 #369865
square
#363898 #983669 #989636 #369865
split-complementary
#363898 #986536 #699836
monochromatic
#16173E #26276B #363898 #4C4EBF #797BCF

Accessibility & contrast

On white

9.65
#363898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #363898
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363898#FFFFFF#000000##FFFFFF
##3638981.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #363898;
/* rgb */ color: rgb(54, 56, 152);
/* oklch */ color: oklch(40.1% 0.153 276.1);
Tailwind
colors: {
  custom: {
    50: '#796fb7',
    500: '#363898',
    950: '#000000',
  },
}
SCSS
$custom: #363898;
$custom-light: #796fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#363898",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 238.776,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.15329,
    "h": 276.1
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #363898

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

Preview Lab → · Contrast checker → · Palette generator →

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