#27208B#27208B

#27208B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.168 H 275.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#27208B
RGBrgb(39, 32, 139)
HSLhsl(244, 63%, 34%)
HSVhsv(244, 77%, 55%)
CMYKcmyk(71.9%, 77%, 0%, 45.5%)
CIE-LABlab(21.31, 38.39, -57.72)
CIE-LCHlch(21.31, 69.32, 303.63°)
OKLaboklab(33.83% 0.0161 -0.1669)
OKLCHoklch(33.83% 0.168 275.5)
XYZxyz(6.0119, 3.3279, 24.7466)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27208B #848B20
analogous
#204E8B #27208B #5C208B
triadic
#27208B #8B2720 #208B27
tetradic
#27208B #8B204E #848B20 #208B5C
square
#27208B #8B204E #848B20 #208B5C
split-complementary
#27208B #8B5C20 #4E8B20
monochromatic
#0B0928 #191559 #27208B #352BBD #584FD6

Accessibility & contrast

On white

12.61
#27208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27208B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27208B#FFFFFF#000000##FFFFFF
##27208B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #27208b;
/* rgb */ color: rgb(39, 32, 139);
/* oklch */ color: oklch(33.8% 0.168 275.5);
Tailwind
colors: {
  custom: {
    50: '#715dae',
    500: '#27208b',
    950: '#000000',
  },
}
SCSS
$custom: #27208b;
$custom-light: #715dae;
$custom-dark: #000000;
JSON
{
  "hex": "#27208b",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 243.925,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.16765,
    "h": 275.5
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#27208B
secondary
#B2BA4D
accent
#E642DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #27208B

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

Preview Lab → · Contrast checker → · Palette generator →

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