#27208F#27208F

#27208F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.173 H 275.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#27208F
RGBrgb(39, 32, 143)
HSLhsl(244, 63%, 34%)
HSVhsv(244, 78%, 56%)
CMYKcmyk(72.7%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.75, 39.73, -59.49)
CIE-LCHlch(21.75, 71.54, 303.74°)
OKLaboklab(34.27% 0.0152 -0.172)
OKLCHoklch(34.27% 0.173 275)
XYZxyz(6.3095, 3.4469, 26.3141)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27208F #888F20
analogous
#20518F #27208F #5F208F
triadic
#27208F #8F2720 #208F27
tetradic
#27208F #8F2051 #888F20 #208F5F
square
#27208F #8F2051 #888F20 #208F5F
split-complementary
#27208F #8F5F20 #518F20
monochromatic
#0C0A2B #19155D #27208F #352BC1 #5A51D8

Accessibility & contrast

On white

12.43
#27208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#27208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27208F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27208F#FFFFFF#000000##FFFFFF
##27208F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #27208f;
/* rgb */ color: rgb(39, 32, 143);
/* oklch */ color: oklch(34.3% 0.173 275.0);
Tailwind
colors: {
  custom: {
    50: '#725eb1',
    500: '#27208f',
    950: '#000000',
  },
}
SCSS
$custom: #27208f;
$custom-light: #725eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#27208f",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 243.784,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34266,
    "c": 0.17269,
    "h": 275
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#27208F
secondary
#B5BB4F
accent
#E641DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27208F

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

Preview Lab → · Contrast checker → · Palette generator →

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