#27798F#27798F

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

Color values

HEX#27798F
RGBrgb(39, 121, 143)
HSLhsl(193, 57%, 36%)
HSVhsv(193, 73%, 56%)
CMYKcmyk(72.7%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.09, -16.79, -19.04)
CIE-LCHlch(47.09, 25.39, 228.60°)
OKLaboklab(53.71% -0.0645 -0.0532)
OKLCHoklch(53.71% 0.084 219.5)
XYZxyz(12.6299, 16.0878, 28.4209)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27798F #8F3D27
analogous
#278F71 #27798F #27458F
triadic
#27798F #8F2779 #798F27
tetradic
#27798F #71278F #8F3D27 #458F27
square
#27798F #71278F #8F3D27 #458F27
split-complementary
#27798F #8F2745 #8F7127
monochromatic
#0D282F #1A505F #27798F #34A2BF #5DBAD3

Accessibility & contrast

On white

4.98
#27798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#27798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27798F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27798F#FFFFFF#000000##FFFFFF
##27798F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27798f;
/* rgb */ color: rgb(39, 121, 143);
/* oklch */ color: oklch(53.7% 0.084 219.5);
Tailwind
colors: {
  custom: {
    50: '#709faf',
    500: '#27798f',
    950: '#000000',
  },
}
SCSS
$custom: #27798f;
$custom-light: #709faf;
$custom-dark: #000000;
JSON
{
  "hex": "#27798f",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 192.692,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.08361,
    "h": 219.5
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#27798F
secondary
#B86E5A
accent
#6847E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #27798F

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

Preview Lab → · Contrast checker → · Palette generator →

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