#36398D#36398D

#36398D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.137 H 276.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#36398D
RGBrgb(54, 57, 141)
HSLhsl(238, 45%, 38%)
HSVhsv(238, 62%, 55%)
CMYKcmyk(61.7%, 59.6%, 0%, 44.7%)
CIE-LABlab(28.47, 25.53, -47.21)
CIE-LCHlch(28.47, 53.67, 298.40°)
OKLaboklab(39.36% 0.0156 -0.1356)
OKLCHoklch(39.36% 0.137 276.6)
XYZxyz(7.7906, 5.6330, 25.8709)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36398D #8D8A36
analogous
#36648D #36398D #5E368D
triadic
#36398D #8D3639 #398D36
tetradic
#36398D #8D3664 #8D8A36 #368D5E
square
#36398D #8D3664 #8D8A36 #368D5E
split-complementary
#36398D #8D5E36 #648D36
monochromatic
#141534 #252761 #36398D #474BB9 #7477CA

Accessibility & contrast

On white

9.87
#36398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36398D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36398D#FFFFFF#000000##FFFFFF
##36398D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #36398d;
/* rgb */ color: rgb(54, 57, 141);
/* oklch */ color: oklch(39.4% 0.137 276.6);
Tailwind
colors: {
  custom: {
    50: '#766faf',
    500: '#36398d',
    950: '#000000',
  },
}
SCSS
$custom: #36398d;
$custom-light: #766faf;
$custom-dark: #000000;
JSON
{
  "hex": "#36398d",
  "rgb": {
    "r": 54,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 237.931,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.13652,
    "h": 276.6
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#36398D
secondary
#B2B06D
accent
#D053D4
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #36398D

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

Preview Lab → · Contrast checker → · Palette generator →

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