#28789B#28789B

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

Color values

HEX#28789B
RGBrgb(40, 120, 155)
HSLhsl(198, 59%, 38%)
HSVhsv(198, 74%, 61%)
CMYKcmyk(74.2%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.30, -11.93, -25.78)
CIE-LCHlch(47.30, 28.41, 245.17°)
OKLaboklab(54.05% -0.0583 -0.0724)
OKLCHoklch(54.05% 0.093 231.2)
XYZxyz(13.5056, 16.2491, 33.4286)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28789B #9B4B28
analogous
#289B84 #28789B #283E9B
triadic
#28789B #9B2878 #789B28
tetradic
#28789B #84289B #9B4B28 #3E9B28
square
#28789B #84289B #9B4B28 #3E9B28
split-complementary
#28789B #9B283E #9B8428
monochromatic
#0F2D3A #1B526A #28789B #359DCB #66B5D7

Accessibility & contrast

On white

4.94
#28789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#28789B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28789B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28789B#FFFFFF#000000##FFFFFF
##28789B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769D
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28789b;
/* rgb */ color: rgb(40, 120, 155);
/* oklch */ color: oklch(54.1% 0.093 231.2);
Tailwind
colors: {
  custom: {
    50: '#729fb8',
    500: '#28789b',
    950: '#000000',
  },
}
SCSS
$custom: #28789b;
$custom-light: #729fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#28789b",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 198.261,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.09297,
    "h": 231.2
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28789B

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

Preview Lab → · Contrast checker → · Palette generator →

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