#27799D#27799D

#27799D is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.095 H 231.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#27799D
RGBrgb(39, 121, 157)
HSLhsl(198, 60%, 38%)
HSVhsv(198, 75%, 62%)
CMYKcmyk(75.2%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.67, -11.93, -26.38)
CIE-LCHlch(47.67, 28.95, 245.66°)
OKLaboklab(54.37% -0.059 -0.0742)
OKLCHoklch(54.37% 0.095 231.5)
XYZxyz(13.7574, 16.5388, 34.3590)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27799D #9D4B27
analogous
#279D86 #27799D #273E9D
triadic
#27799D #9D2779 #799D27
tetradic
#27799D #86279D #9D4B27 #3E9D27
square
#27799D #86279D #9D4B27 #3E9D27
split-complementary
#27799D #9D273E #9D8627
monochromatic
#0F2D3B #1B536C #27799D #359ECD #66B6D9

Accessibility & contrast

On white

4.87
#27799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#27799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27799D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27799D#FFFFFF#000000##FFFFFF
##27799D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779F
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #27799d;
/* rgb */ color: rgb(39, 121, 157);
/* oklch */ color: oklch(54.4% 0.095 231.5);
Tailwind
colors: {
  custom: {
    50: '#729fba',
    500: '#27799d',
    950: '#000000',
  },
}
SCSS
$custom: #27799d;
$custom-light: #729fba;
$custom-dark: #000000;
JSON
{
  "hex": "#27799d",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 198.305,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.09481,
    "h": 231.5
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#27799D
secondary
#BF7E61
accent
#7544E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #27799D

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

Preview Lab → · Contrast checker → · Palette generator →

#27799D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva