#36398F#36398F

#36398F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.139 H 276.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#36398F
RGBrgb(54, 57, 143)
HSLhsl(238, 45%, 39%)
HSVhsv(238, 62%, 56%)
CMYKcmyk(62.2%, 60.1%, 0%, 43.9%)
CIE-LABlab(28.62, 26.23, -48.18)
CIE-LCHlch(28.62, 54.86, 298.57°)
OKLaboklab(39.52% 0.0156 -0.1385)
OKLCHoklch(39.52% 0.139 276.4)
XYZxyz(7.9408, 5.6931, 26.6617)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36398F #8F8C36
analogous
#36658F #36398F #5F368F
triadic
#36398F #8F3639 #398F36
tetradic
#36398F #8F3665 #8F8C36 #368F5F
square
#36398F #8F3665 #8F8C36 #368F5F
split-complementary
#36398F #8F5F36 #658F36
monochromatic
#141636 #252763 #36398F #484CBA #7578CB

Accessibility & contrast

On white

9.82
#36398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#36398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36398F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36398F#FFFFFF#000000##FFFFFF
##36398F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #36398f;
/* rgb */ color: rgb(54, 57, 143);
/* oklch */ color: oklch(39.5% 0.139 276.4);
Tailwind
colors: {
  custom: {
    50: '#776fb0',
    500: '#36398f',
    950: '#000000',
  },
}
SCSS
$custom: #36398f;
$custom-light: #776fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#36398f",
  "rgb": {
    "r": 54,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 237.978,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.13937,
    "h": 276.4
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#36398F
secondary
#B3B16D
accent
#D053D5
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #36398F

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

Preview Lab → · Contrast checker → · Palette generator →

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