#27517E#27517E

#27517E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.089 H 252.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#27517E
RGBrgb(39, 81, 126)
HSLhsl(211, 53%, 32%)
HSVhsv(211, 69%, 49%)
CMYKcmyk(69%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.61, 1.04, -29.74)
CIE-LCHlch(33.61, 29.76, 272.01°)
OKLaboklab(42.74% -0.0274 -0.0843)
OKLCHoklch(42.74% 0.089 252)
XYZxyz(7.5436, 7.8218, 20.8468)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27517E #7E5427
analogous
#277D7E #27517E #28277E
triadic
#27517E #7E2751 #517E27
tetradic
#27517E #7E277D #7E5427 #277E28
square
#27517E #7E277D #7E5427 #277E28
split-complementary
#27517E #7E2827 #7D7E27
monochromatic
#0A1521 #19334F #27517E #356FAD #558ECA

Accessibility & contrast

On white

8.19
#27517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#27517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27517E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27517E#FFFFFF#000000##FFFFFF
##27517E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #27517e;
/* rgb */ color: rgb(39, 81, 126);
/* oklch */ color: oklch(42.7% 0.089 252.0);
Tailwind
colors: {
  custom: {
    50: '#6b81a3',
    500: '#27517e',
    950: '#000000',
  },
}
SCSS
$custom: #27517e;
$custom-light: #6b81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27517e",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 211.034,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.08866,
    "h": 252
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#27517E
secondary
#AF8252
accent
#964CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #27517E

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

Preview Lab → · Contrast checker → · Palette generator →

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