#27207A#27207A

#27207A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.146 H 277.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#27207A
RGBrgb(39, 32, 122)
HSLhsl(245, 58%, 30%)
HSVhsv(245, 74%, 48%)
CMYKcmyk(68%, 73.8%, 0%, 52.2%)
CIE-LABlab(19.51, 32.58, -49.96)
CIE-LCHlch(19.51, 59.64, 303.11°)
OKLaboklab(32.01% 0.0196 -0.1442)
OKLCHoklch(32.01% 0.146 277.7)
XYZxyz(4.8649, 2.8691, 18.7060)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27207A #737A20
analogous
#20467A #27207A #54207A
triadic
#27207A #7A2720 #207A27
tetradic
#27207A #7A2046 #737A20 #207A54
square
#27207A #7A2046 #737A20 #207A54
split-complementary
#27207A #7A5420 #467A20
monochromatic
#080719 #18134A #27207A #362DAA #5146CE

Accessibility & contrast

On white

13.34
#27207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#27207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27207A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27207A#FFFFFF#000000##FFFFFF
##27207A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27207a;
/* rgb */ color: rgb(39, 32, 122);
/* oklch */ color: oklch(32.0% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#6d5da1',
    500: '#27207a',
    950: '#000000',
  },
}
SCSS
$custom: #27207a;
$custom-light: #6d5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#27207a",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 244.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32007,
    "c": 0.14556,
    "h": 277.7
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#27207A
secondary
#A5AD49
accent
#E246D6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #27207A

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

Preview Lab → · Contrast checker → · Palette generator →

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