#28799F#28799F

#28799F is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.096 H 233.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#28799F
RGBrgb(40, 121, 159)
HSLhsl(199, 60%, 39%)
HSVhsv(199, 75%, 62%)
CMYKcmyk(74.8%, 23.9%, 0%, 37.6%)
CIE-LABlab(47.79, -11.09, -27.37)
CIE-LCHlch(47.79, 29.53, 247.95°)
OKLaboklab(54.5% -0.0578 -0.077)
OKLCHoklch(54.5% 0.096 233.1)
XYZxyz(13.9679, 16.6274, 35.2674)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28799F #9F4E28
analogous
#289F8A #28799F #283D9F
triadic
#28799F #9F2879 #799F28
tetradic
#28799F #8A289F #9F4E28 #3D9F28
square
#28799F #8A289F #9F4E28 #3D9F28
split-complementary
#28799F #9F283D #9F8A28
monochromatic
#0F2F3D #1C546E #28799F #379DCD #68B5D9

Accessibility & contrast

On white

4.85
#28799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#28799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28799F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28799F#FFFFFF#000000##FFFFFF
##28799F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A1
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28799f;
/* rgb */ color: rgb(40, 121, 159);
/* oklch */ color: oklch(54.5% 0.096 233.1);
Tailwind
colors: {
  custom: {
    50: '#739fbb',
    500: '#28799f',
    950: '#000000',
  },
}
SCSS
$custom: #28799f;
$custom-light: #739fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#28799f",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 199.16,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.0963,
    "h": 233.1
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#28799F
secondary
#BF8164
accent
#7745E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #28799F

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

Preview Lab → · Contrast checker → · Palette generator →

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