#36318F#36318F

#36318F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.150 H 278.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#36318F
RGBrgb(54, 49, 143)
HSLhsl(243, 49%, 38%)
HSVhsv(243, 66%, 56%)
CMYKcmyk(62.2%, 65.7%, 0%, 43.9%)
CIE-LABlab(26.63, 31.43, -51.43)
CIE-LCHlch(26.63, 60.27, 301.43°)
OKLaboklab(38.06% 0.0232 -0.1481)
OKLCHoklch(38.06% 0.15 278.9)
XYZxyz(7.5760, 4.9635, 26.5401)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36318F #8A8F31
analogous
#315B8F #36318F #65318F
triadic
#36318F #8F3631 #318F36
tetradic
#36318F #8F315B #8A8F31 #318F65
square
#36318F #8F315B #8A8F31 #318F65
split-complementary
#36318F #8F6531 #5B8F31
monochromatic
#141234 #252161 #36318F #4741BD #726DCD

Accessibility & contrast

On white

10.54
#36318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#36318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36318F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36318F#FFFFFF#000000##FFFFFF
##36318F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #36318f;
/* rgb */ color: rgb(54, 49, 143);
/* oklch */ color: oklch(38.1% 0.150 278.9);
Tailwind
colors: {
  custom: {
    50: '#7769b1',
    500: '#36318f',
    950: '#000000',
  },
}
SCSS
$custom: #36318f;
$custom-light: #7769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#36318f",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 243.191,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38058,
    "c": 0.1499,
    "h": 278.9
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#36318F
secondary
#B1B567
accent
#D94FD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #36318F

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

Preview Lab → · Contrast checker → · Palette generator →

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