#27208D#27208D

#27208D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.170 H 275.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#27208D
RGBrgb(39, 32, 141)
HSLhsl(244, 63%, 34%)
HSVhsv(244, 77%, 55%)
CMYKcmyk(72.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.53, 39.06, -58.61)
CIE-LCHlch(21.53, 70.43, 303.68°)
OKLaboklab(34.04% 0.0156 -0.1695)
OKLCHoklch(34.04% 0.17 275.3)
XYZxyz(6.1593, 3.3869, 25.5233)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27208D #868D20
analogous
#20508D #27208D #5E208D
triadic
#27208D #8D2720 #208D27
tetradic
#27208D #8D2050 #868D20 #208D5E
square
#27208D #8D2050 #868D20 #208D5E
split-complementary
#27208D #8D5E20 #508D20
monochromatic
#0B0929 #19155B #27208D #352BBF #5950D7

Accessibility & contrast

On white

12.52
#27208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#27208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27208D
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27208D#FFFFFF#000000##FFFFFF
##27208D1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #27208d;
/* rgb */ color: rgb(39, 32, 141);
/* oklch */ color: oklch(34.0% 0.170 275.3);
Tailwind
colors: {
  custom: {
    50: '#725daf',
    500: '#27208d',
    950: '#000000',
  },
}
SCSS
$custom: #27208d;
$custom-light: #725daf;
$custom-dark: #000000;
JSON
{
  "hex": "#27208d",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 243.853,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34045,
    "c": 0.17018,
    "h": 275.3
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#27208D
secondary
#B4BA4E
accent
#E642DC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #27208D

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

Preview Lab → · Contrast checker → · Palette generator →

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