#27207E#27207E

#27207E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.151 H 277.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#27207E
RGBrgb(39, 32, 126)
HSLhsl(244, 59%, 31%)
HSVhsv(244, 75%, 49%)
CMYKcmyk(69%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.92, 33.96, -51.82)
CIE-LCHlch(19.92, 61.96, 303.24°)
OKLaboklab(32.43% 0.0188 -0.1497)
OKLCHoklch(32.43% 0.151 277.2)
XYZxyz(5.1179, 2.9703, 20.0382)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27207E #777E20
analogous
#20487E #27207E #56207E
triadic
#27207E #7E2720 #207E27
tetradic
#27207E #7E2048 #777E20 #207E56
square
#27207E #7E2048 #777E20 #207E56
split-complementary
#27207E #7E5620 #487E20
monochromatic
#09071C #18144D #27207E #362CAF #5248D0

Accessibility & contrast

On white

13.17
#27207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#27207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27207E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27207E#FFFFFF#000000##FFFFFF
##27207E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27207e;
/* rgb */ color: rgb(39, 32, 126);
/* oklch */ color: oklch(32.4% 0.151 277.2);
Tailwind
colors: {
  custom: {
    50: '#6e5da4',
    500: '#27207e',
    950: '#000000',
  },
}
SCSS
$custom: #27207e;
$custom-light: #6e5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#27207e",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 244.468,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.15086,
    "h": 277.2
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#27207E
secondary
#A9B149
accent
#E345D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #27207E

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

Preview Lab → · Contrast checker → · Palette generator →

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