#27798C#27798C

#27798C is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.082 H 216.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#27798C
RGBrgb(39, 121, 140)
HSLhsl(191, 56%, 35%)
HSVhsv(191, 72%, 55%)
CMYKcmyk(72.1%, 13.6%, 0%, 45.1%)
CIE-LABlab(46.97, -17.80, -17.45)
CIE-LCHlch(46.97, 24.93, 224.43°)
OKLaboklab(53.58% -0.0658 -0.0486)
OKLCHoklch(53.58% 0.082 216.5)
XYZxyz(12.4057, 15.9981, 27.2400)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27798C #8C3A27
analogous
#278C6C #27798C #27468C
triadic
#27798C #8C2779 #798C27
tetradic
#27798C #6C278C #8C3A27 #468C27
square
#27798C #6C278C #8C3A27 #468C27
split-complementary
#27798C #8C2746 #8C6C27
monochromatic
#0C262C #1A505C #27798C #34A2BC #5CBBD2

Accessibility & contrast

On white

5.00
#27798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#27798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27798C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27798C#FFFFFF#000000##FFFFFF
##27798C1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758D
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #27798c;
/* rgb */ color: rgb(39, 121, 140);
/* oklch */ color: oklch(53.6% 0.082 216.5);
Tailwind
colors: {
  custom: {
    50: '#70a0ad',
    500: '#27798c',
    950: '#000000',
  },
}
SCSS
$custom: #27798c;
$custom-light: #70a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27798c",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 191.287,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.08182,
    "h": 216.5
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#27798C
secondary
#B76A58
accent
#6548E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #27798C

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

Preview Lab → · Contrast checker → · Palette generator →

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