#28799B#28799B

#28799B is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.093 H 230.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#28799B
RGBrgb(40, 121, 155)
HSLhsl(198, 59%, 38%)
HSVhsv(198, 74%, 61%)
CMYKcmyk(74.2%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.61, -12.50, -25.30)
CIE-LCHlch(47.61, 28.22, 243.71°)
OKLaboklab(54.3% -0.0593 -0.071)
OKLCHoklch(54.3% 0.093 230.2)
XYZxyz(13.6265, 16.4908, 33.4689)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28799B #9B4A28
analogous
#289B83 #28799B #283F9B
triadic
#28799B #9B2879 #799B28
tetradic
#28799B #83289B #9B4A28 #3F9B28
square
#28799B #83289B #9B4A28 #3F9B28
split-complementary
#28799B #9B283F #9B8328
monochromatic
#0F2D3A #1B536A #28799B #359FCB #66B6D7

Accessibility & contrast

On white

4.89
#28799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#28799B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28799B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28799B#FFFFFF#000000##FFFFFF
##28799B1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779D
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28799b;
/* rgb */ color: rgb(40, 121, 155);
/* oklch */ color: oklch(54.3% 0.093 230.2);
Tailwind
colors: {
  custom: {
    50: '#729fb8',
    500: '#28799b',
    950: '#000000',
  },
}
SCSS
$custom: #28799b;
$custom-light: #729fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#28799b",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 197.739,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.09254,
    "h": 230.2
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#28799B
secondary
#BD7D61
accent
#7446E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #28799B

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

Preview Lab → · Contrast checker → · Palette generator →

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