#27518B#27518B

#27518B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.107 H 257.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#27518B
RGBrgb(39, 81, 139)
HSLhsl(215, 56%, 35%)
HSVhsv(215, 72%, 55%)
CMYKcmyk(71.9%, 41.7%, 0%, 45.5%)
CIE-LABlab(34.35, 6.01, -36.55)
CIE-LCHlch(34.35, 37.04, 279.33°)
OKLaboklab(43.57% -0.024 -0.1043)
OKLCHoklch(43.57% 0.107 257.1)
XYZxyz(8.4376, 8.1794, 25.5552)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27518B #8B6127
analogous
#27838B #27518B #2F278B
triadic
#27518B #8B2751 #518B27
tetradic
#27518B #8B2783 #8B6127 #278B2F
square
#27518B #8B2783 #8B6127 #278B2F
split-complementary
#27518B #8B2F27 #838B27
monochromatic
#0C192B #1A355B #27518B #346DBB #5B8DD1

Accessibility & contrast

On white

7.97
#27518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#27518B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27518B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27518B#FFFFFF#000000##FFFFFF
##27518B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568D
Deuteranopia (green-blind)
#264D8A
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #27518b;
/* rgb */ color: rgb(39, 81, 139);
/* oklch */ color: oklch(43.6% 0.107 257.1);
Tailwind
colors: {
  custom: {
    50: '#6e81ad',
    500: '#27518b',
    950: '#000000',
  },
}
SCSS
$custom: #27518b;
$custom-light: #6e81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27518b",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 214.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.10699,
    "h": 257.1
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#27518B
secondary
#B68E58
accent
#A048DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27518B

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

Preview Lab → · Contrast checker → · Palette generator →

#27518B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva