#36398E#36398E

#36398E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.138 H 276.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#36398E
RGBrgb(54, 57, 142)
HSLhsl(238, 45%, 38%)
HSVhsv(238, 62%, 56%)
CMYKcmyk(62%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.55, 25.88, -47.70)
CIE-LCHlch(28.55, 54.27, 298.48°)
OKLaboklab(39.44% 0.0156 -0.1371)
OKLCHoklch(39.44% 0.138 276.5)
XYZxyz(7.8654, 5.6629, 26.2645)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36398E #8E8B36
analogous
#36658E #36398E #5F368E
triadic
#36398E #8E3639 #398E36
tetradic
#36398E #8E3665 #8E8B36 #368E5F
square
#36398E #8E3665 #8E8B36 #368E5F
split-complementary
#36398E #8E5F36 #658E36
monochromatic
#141535 #252762 #36398E #484CB9 #7477CA

Accessibility & contrast

On white

9.85
#36398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#36398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36398E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36398E#FFFFFF#000000##FFFFFF
##36398E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #36398e;
/* rgb */ color: rgb(54, 57, 142);
/* oklch */ color: oklch(39.4% 0.138 276.5);
Tailwind
colors: {
  custom: {
    50: '#776fb0',
    500: '#36398e',
    950: '#000000',
  },
}
SCSS
$custom: #36398e;
$custom-light: #776fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#36398e",
  "rgb": {
    "r": 54,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 237.955,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.13795,
    "h": 276.5
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#36398E
secondary
#B3B06D
accent
#D053D5
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #36398E

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

Preview Lab → · Contrast checker → · Palette generator →

#36398E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva