#27208E#27208E

#27208E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.171 H 275.2°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#27208E
RGBrgb(39, 32, 142)
HSLhsl(244, 63%, 34%)
HSVhsv(244, 77%, 56%)
CMYKcmyk(72.5%, 77.5%, 0%, 44.3%)
CIE-LABlab(21.64, 39.40, -59.05)
CIE-LCHlch(21.64, 70.98, 303.71°)
OKLaboklab(34.16% 0.0154 -0.1708)
OKLCHoklch(34.16% 0.171 275.2)
XYZxyz(6.2341, 3.4168, 25.9169)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27208E #878E20
analogous
#20508E #27208E #5E208E
triadic
#27208E #8E2720 #208E27
tetradic
#27208E #8E2050 #878E20 #208E5E
square
#27208E #8E2050 #878E20 #208E5E
split-complementary
#27208E #8E5E20 #508E20
monochromatic
#0C092A #19155C #27208E #352BC0 #5951D8

Accessibility & contrast

On white

12.47
#27208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27208E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27208E#FFFFFF#000000##FFFFFF
##27208E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #27208e;
/* rgb */ color: rgb(39, 32, 142);
/* oklch */ color: oklch(34.2% 0.171 275.2);
Tailwind
colors: {
  custom: {
    50: '#725eb0',
    500: '#27208e',
    950: '#000000',
  },
}
SCSS
$custom: #27208e;
$custom-light: #725eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#27208e",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 243.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34156,
    "c": 0.17144,
    "h": 275.2
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#27208E
secondary
#B4BB4F
accent
#E642DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27208E

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

Preview Lab → · Contrast checker → · Palette generator →

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