#27798B#27798B

#27798B is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.5% C 0.081 H 215.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#27798B
RGBrgb(39, 121, 139)
HSLhsl(191, 56%, 35%)
HSVhsv(191, 72%, 55%)
CMYKcmyk(71.9%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.93, -18.14, -16.92)
CIE-LCHlch(46.93, 24.80, 223.01°)
OKLaboklab(53.53% -0.0662 -0.0471)
OKLCHoklch(53.53% 0.081 215.4)
XYZxyz(12.3323, 15.9687, 26.8534)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27798B #8B3927
analogous
#278B6B #27798B #27478B
triadic
#27798B #8B2779 #798B27
tetradic
#27798B #6B278B #8B3927 #478B27
square
#27798B #6B278B #8B3927 #478B27
split-complementary
#27798B #8B2747 #8B6B27
monochromatic
#0C262B #1A4F5B #27798B #34A3BB #5BBCD1

Accessibility & contrast

On white

5.01
#27798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#27798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27798B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27798B#FFFFFF#000000##FFFFFF
##27798B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27798b;
/* rgb */ color: rgb(39, 121, 139);
/* oklch */ color: oklch(53.5% 0.081 215.4);
Tailwind
colors: {
  custom: {
    50: '#70a0ad',
    500: '#27798b',
    950: '#000000',
  },
}
SCSS
$custom: #27798b;
$custom-light: #70a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27798b",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 190.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.08128,
    "h": 215.4
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#27798B
secondary
#B66958
accent
#6448DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #27798B

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

Preview Lab → · Contrast checker → · Palette generator →

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