#36279D#36279D

#36279D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.180 H 279.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#36279D
RGBrgb(54, 39, 157)
HSLhsl(248, 60%, 38%)
HSVhsv(248, 75%, 62%)
CMYKcmyk(65.6%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.77, 42.06, -61.44)
CIE-LCHlch(25.77, 74.46, 304.39°)
OKLaboklab(37.84% 0.0287 -0.1774)
OKLCHoklch(37.84% 0.18 279.2)
XYZxyz(8.3307, 4.6690, 32.3539)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36279D #8E9D27
analogous
#27539D #36279D #71279D
triadic
#36279D #9D3627 #279D36
tetradic
#36279D #9D2753 #8E9D27 #279D71
square
#36279D #9D2753 #8E9D27 #279D71
split-complementary
#36279D #9D7127 #539D27
monochromatic
#140F3B #251B6C #36279D #4835CD #7466D9

Accessibility & contrast

On white

10.86
#36279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#36279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36279D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36279D#FFFFFF#000000##FFFFFF
##36279D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #36279d;
/* rgb */ color: rgb(54, 39, 157);
/* oklch */ color: oklch(37.8% 0.180 279.2);
Tailwind
colors: {
  custom: {
    50: '#7b63bb',
    500: '#36279d',
    950: '#000000',
  },
}
SCSS
$custom: #36279d;
$custom-light: #7b63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#36279d",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 247.627,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37843,
    "c": 0.17968,
    "h": 279.2
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#36279D
secondary
#B3BF61
accent
#E344CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #36279D

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

Preview Lab → · Contrast checker → · Palette generator →

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