#28799D#28799D

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

Color values

HEX#28799D
RGBrgb(40, 121, 157)
HSLhsl(198, 59%, 39%)
HSVhsv(198, 75%, 62%)
CMYKcmyk(74.5%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.70, -11.80, -26.34)
CIE-LCHlch(47.70, 28.86, 245.87°)
OKLaboklab(54.4% -0.0585 -0.074)
OKLCHoklch(54.4% 0.094 231.7)
XYZxyz(13.7958, 16.5586, 34.3608)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28799D #9D4C28
analogous
#289D86 #28799D #283E9D
triadic
#28799D #9D2879 #799D28
tetradic
#28799D #86289D #9D4C28 #3E9D28
square
#28799D #86289D #9D4C28 #3E9D28
split-complementary
#28799D #9D283E #9D8628
monochromatic
#0F2E3B #1C536C #28799D #369ECC #67B5D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28799D#FFFFFF#000000##FFFFFF
##28799D1.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)
#67789F
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28799d;
/* rgb */ color: rgb(40, 121, 157);
/* oklch */ color: oklch(54.4% 0.094 231.7);
Tailwind
colors: {
  custom: {
    50: '#739fba',
    500: '#28799d',
    950: '#000000',
  },
}
SCSS
$custom: #28799d;
$custom-light: #739fba;
$custom-dark: #000000;
JSON
{
  "hex": "#28799d",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 198.462,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.09439,
    "h": 231.7
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28799D

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

Preview Lab → · Contrast checker → · Palette generator →

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