#28789D#28789D

#28789D is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.095 H 232.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#28789D
RGBrgb(40, 120, 157)
HSLhsl(199, 59%, 39%)
HSVhsv(199, 75%, 62%)
CMYKcmyk(74.5%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.39, -11.22, -26.82)
CIE-LCHlch(47.39, 29.08, 247.29°)
OKLaboklab(54.15% -0.0575 -0.0754)
OKLCHoklch(54.15% 0.095 232.7)
XYZxyz(13.6749, 16.3168, 34.3205)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28789D #9D4D28
analogous
#289D87 #28789D #283D9D
triadic
#28789D #9D2878 #789D28
tetradic
#28789D #87289D #9D4D28 #3D9D28
square
#28789D #87289D #9D4D28 #3D9D28
split-complementary
#28789D #9D283D #9D8728
monochromatic
#0F2D3B #1C536C #28789D #369DCC #67B5D8

Accessibility & contrast

On white

4.93
#28789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#28789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28789D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28789D#FFFFFF#000000##FFFFFF
##28789D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779F
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28789d;
/* rgb */ color: rgb(40, 120, 157);
/* oklch */ color: oklch(54.1% 0.095 232.7);
Tailwind
colors: {
  custom: {
    50: '#739fba',
    500: '#28789d',
    950: '#000000',
  },
}
SCSS
$custom: #28789d;
$custom-light: #739fba;
$custom-dark: #000000;
JSON
{
  "hex": "#28789d",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 198.974,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.09487,
    "h": 232.7
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28789D

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

Preview Lab → · Contrast checker → · Palette generator →

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