#28799E#28799E

#28799E is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.095 H 232.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#28799E
RGBrgb(40, 121, 158)
HSLhsl(199, 60%, 39%)
HSVhsv(199, 75%, 62%)
CMYKcmyk(74.7%, 23.4%, 0%, 38%)
CIE-LABlab(47.74, -11.44, -26.86)
CIE-LCHlch(47.74, 29.19, 246.92°)
OKLaboklab(54.45% -0.0582 -0.0755)
OKLCHoklch(54.45% 0.095 232.4)
XYZxyz(13.8815, 16.5929, 34.8123)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28799E #9E4D28
analogous
#289E88 #28799E #283E9E
triadic
#28799E #9E2879 #799E28
tetradic
#28799E #88289E #9E4D28 #3E9E28
square
#28799E #88289E #9E4D28 #3E9E28
split-complementary
#28799E #9E283E #9E8828
monochromatic
#0F2E3C #1C546D #28799E #379DCC #68B5D9

Accessibility & contrast

On white

4.86
#28799E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#28799E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28799E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28799E#FFFFFF#000000##FFFFFF
##28799E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A0
Deuteranopia (green-blind)
#576C9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28799e;
/* rgb */ color: rgb(40, 121, 158);
/* oklch */ color: oklch(54.4% 0.095 232.4);
Tailwind
colors: {
  custom: {
    50: '#739fba',
    500: '#28799e',
    950: '#000000',
  },
}
SCSS
$custom: #28799e;
$custom-light: #739fba;
$custom-dark: #000000;
JSON
{
  "hex": "#28799e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 198.814,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.09533,
    "h": 232.4
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#28799E
secondary
#BF8063
accent
#7645E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #28799E

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

Preview Lab → · Contrast checker → · Palette generator →

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