#27208C#27208C

#27208C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.169 H 275.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#27208C
RGBrgb(39, 32, 140)
HSLhsl(244, 63%, 34%)
HSVhsv(244, 77%, 55%)
CMYKcmyk(72.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(21.42, 38.73, -58.17)
CIE-LCHlch(21.42, 69.88, 303.66°)
OKLaboklab(33.93% 0.0159 -0.1682)
OKLCHoklch(33.93% 0.169 275.4)
XYZxyz(6.0853, 3.3572, 25.1332)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27208C #858C20
analogous
#204F8C #27208C #5D208C
triadic
#27208C #8C2720 #208C27
tetradic
#27208C #8C204F #858C20 #208C5D
square
#27208C #8C204F #858C20 #208C5D
split-complementary
#27208C #8C5D20 #4F8C20
monochromatic
#0B0928 #19155A #27208C #352BBE #5850D7

Accessibility & contrast

On white

12.56
#27208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#27208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27208C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27208C#FFFFFF#000000##FFFFFF
##27208C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #27208c;
/* rgb */ color: rgb(39, 32, 140);
/* oklch */ color: oklch(33.9% 0.169 275.4);
Tailwind
colors: {
  custom: {
    50: '#725daf',
    500: '#27208c',
    950: '#000000',
  },
}
SCSS
$custom: #27208c;
$custom-light: #725daf;
$custom-dark: #000000;
JSON
{
  "hex": "#27208c",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 243.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33935,
    "c": 0.16892,
    "h": 275.4
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#27208C
secondary
#B3BA4E
accent
#E642DB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #27208C

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

Preview Lab → · Contrast checker → · Palette generator →

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