#27798E#27798E

#27798E is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.083 H 218.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#27798E
RGBrgb(39, 121, 142)
HSLhsl(192, 57%, 35%)
HSVhsv(192, 73%, 56%)
CMYKcmyk(72.5%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.05, -17.13, -18.51)
CIE-LCHlch(47.05, 25.22, 227.22°)
OKLaboklab(53.67% -0.0649 -0.0516)
OKLCHoklch(53.67% 0.083 218.5)
XYZxyz(12.5545, 16.0576, 28.0237)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27798E #8E3C27
analogous
#278E6F #27798E #27458E
triadic
#27798E #8E2779 #798E27
tetradic
#27798E #6F278E #8E3C27 #458E27
square
#27798E #6F278E #8E3C27 #458E27
split-complementary
#27798E #8E2745 #8E6F27
monochromatic
#0D272E #1A505E #27798E #34A2BE #5DBBD2

Accessibility & contrast

On white

4.99
#27798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#27798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27798E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27798E#FFFFFF#000000##FFFFFF
##27798E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758F
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #27798e;
/* rgb */ color: rgb(39, 121, 142);
/* oklch */ color: oklch(53.7% 0.083 218.5);
Tailwind
colors: {
  custom: {
    50: '#70a0af',
    500: '#27798e',
    950: '#000000',
  },
}
SCSS
$custom: #27798e;
$custom-light: #70a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#27798e",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 192.233,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.08298,
    "h": 218.5
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#27798E
secondary
#B86C59
accent
#6748E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #27798E

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

Preview Lab → · Contrast checker → · Palette generator →

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