#28798F#28798F

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

Color values

HEX#28798F
RGBrgb(40, 121, 143)
HSLhsl(193, 56%, 36%)
HSVhsv(193, 72%, 56%)
CMYKcmyk(72%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.12, -16.64, -19.00)
CIE-LCHlch(47.12, 25.26, 228.78°)
OKLaboklab(53.74% -0.064 -0.053)
OKLCHoklch(53.74% 0.083 219.6)
XYZxyz(12.6683, 16.1076, 28.4227)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28798F #8F3E28
analogous
#288F71 #28798F #28458F
triadic
#28798F #8F2879 #798F28
tetradic
#28798F #71288F #8F3E28 #458F28
square
#28798F #71288F #8F3E28 #458F28
split-complementary
#28798F #8F2845 #8F7128
monochromatic
#0D282F #1B515F #28798F #35A1BF #5FBAD2

Accessibility & contrast

On white

4.97
#28798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28798F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28798F#FFFFFF#000000##FFFFFF
##28798F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.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: #28798f;
/* rgb */ color: rgb(40, 121, 143);
/* oklch */ color: oklch(53.7% 0.083 219.6);
Tailwind
colors: {
  custom: {
    50: '#719faf',
    500: '#28798f',
    950: '#000000',
  },
}
SCSS
$custom: #28798f;
$custom-light: #719faf;
$custom-dark: #000000;
JSON
{
  "hex": "#28798f",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 192.816,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.08314,
    "h": 219.6
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#28798F
secondary
#B86F5B
accent
#6948E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #28798F

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

Preview Lab → · Contrast checker → · Palette generator →

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