#27207C#27207C

#27207C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.148 H 277.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#27207C
RGBrgb(39, 32, 124)
HSLhsl(245, 59%, 31%)
HSVhsv(245, 74%, 49%)
CMYKcmyk(68.5%, 74.2%, 0%, 51.4%)
CIE-LABlab(19.72, 33.27, -50.89)
CIE-LCHlch(19.72, 60.80, 303.17°)
OKLaboklab(32.22% 0.0192 -0.147)
OKLCHoklch(32.22% 0.148 277.5)
XYZxyz(4.9901, 2.9192, 19.3654)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27207C #757C20
analogous
#20477C #27207C #55207C
triadic
#27207C #7C2720 #207C27
tetradic
#27207C #7C2047 #757C20 #207C55
square
#27207C #7C2047 #757C20 #207C55
split-complementary
#27207C #7C5520 #477C20
monochromatic
#08071B #18134B #27207C #362DAD #5147CF

Accessibility & contrast

On white

13.26
#27207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27207C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27207C#FFFFFF#000000##FFFFFF
##27207C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27207c;
/* rgb */ color: rgb(39, 32, 124);
/* oklch */ color: oklch(32.2% 0.148 277.5);
Tailwind
colors: {
  custom: {
    50: '#6e5da3',
    500: '#27207c',
    950: '#000000',
  },
}
SCSS
$custom: #27207c;
$custom-light: #6e5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#27207c",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 244.565,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32216,
    "c": 0.14821,
    "h": 277.5
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#27207C
secondary
#A7AF49
accent
#E246D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #27207C

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

Preview Lab → · Contrast checker → · Palette generator →

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