#27207D#27207D

#27207D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.150 H 277.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#27207D
RGBrgb(39, 32, 125)
HSLhsl(245, 59%, 31%)
HSVhsv(245, 74%, 49%)
CMYKcmyk(68.8%, 74.4%, 0%, 51%)
CIE-LABlab(19.82, 33.62, -51.36)
CIE-LCHlch(19.82, 61.38, 303.21°)
OKLaboklab(32.32% 0.019 -0.1483)
OKLCHoklch(32.32% 0.15 277.3)
XYZxyz(5.0537, 2.9446, 19.7001)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27207D #767D20
analogous
#20477D #27207D #55207D
triadic
#27207D #7D2720 #207D27
tetradic
#27207D #7D2047 #767D20 #207D55
square
#27207D #7D2047 #767D20 #207D55
split-complementary
#27207D #7D5520 #477D20
monochromatic
#09071C #18144C #27207D #362CAE #5247D0

Accessibility & contrast

On white

13.22
#27207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27207D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27207D#FFFFFF#000000##FFFFFF
##27207D1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27207d;
/* rgb */ color: rgb(39, 32, 125);
/* oklch */ color: oklch(32.3% 0.150 277.3);
Tailwind
colors: {
  custom: {
    50: '#6e5da4',
    500: '#27207d',
    950: '#000000',
  },
}
SCSS
$custom: #27207d;
$custom-light: #6e5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#27207d",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 244.516,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.14955,
    "h": 277.3
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#27207D
secondary
#A8B049
accent
#E245D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #27207D

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

Preview Lab → · Contrast checker → · Palette generator →

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