#27517A#27517A

#27517A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.083 H 249.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#27517A
RGBrgb(39, 81, 122)
HSLhsl(210, 52%, 32%)
HSVhsv(210, 68%, 48%)
CMYKcmyk(68%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.39, -0.46, -27.60)
CIE-LCHlch(33.39, 27.60, 269.04°)
OKLaboklab(42.51% -0.0286 -0.0781)
OKLCHoklch(42.51% 0.083 249.9)
XYZxyz(7.2907, 7.7206, 19.5146)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27517A #7A5027
analogous
#277A7A #27517A #27277A
triadic
#27517A #7A2751 #517A27
tetradic
#27517A #7A277A #7A5027 #277A27
square
#27517A #7A277A #7A5027 #277A27
split-complementary
#27517A #7A2727 #7A7A27
monochromatic
#09131D #18324C #27517A #3670A8 #538EC8

Accessibility & contrast

On white

8.25
#27517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#27517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27517A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27517A#FFFFFF#000000##FFFFFF
##27517A1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #27517a;
/* rgb */ color: rgb(39, 81, 122);
/* oklch */ color: oklch(42.5% 0.083 249.9);
Tailwind
colors: {
  custom: {
    50: '#6b81a0',
    500: '#27517a',
    950: '#000000',
  },
}
SCSS
$custom: #27517a;
$custom-light: #6b81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#27517a",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 209.639,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.08316,
    "h": 249.9
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#27517A
secondary
#AC7E51
accent
#934DDB
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #27517A

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

Preview Lab → · Contrast checker → · Palette generator →

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