#28789C#28789C

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

Color values

HEX#28789C
RGBrgb(40, 120, 156)
HSLhsl(199, 59%, 38%)
HSVhsv(199, 74%, 61%)
CMYKcmyk(74.4%, 23.1%, 0%, 38.8%)
CIE-LABlab(47.34, -11.58, -26.30)
CIE-LCHlch(47.34, 28.74, 246.24°)
OKLaboklab(54.1% -0.0579 -0.0739)
OKLCHoklch(54.1% 0.094 231.9)
XYZxyz(13.5899, 16.2828, 33.8727)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28789C #9C4C28
analogous
#289C86 #28789C #283E9C
triadic
#28789C #9C2878 #789C28
tetradic
#28789C #86289C #9C4C28 #3E9C28
square
#28789C #86289C #9C4C28 #3E9C28
split-complementary
#28789C #9C283E #9C8628
monochromatic
#0F2D3B #1C536B #28789C #369DCB #67B5D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28789C#FFFFFF#000000##FFFFFF
##28789C1.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)
#66779E
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28789c;
/* rgb */ color: rgb(40, 120, 156);
/* oklch */ color: oklch(54.1% 0.094 231.9);
Tailwind
colors: {
  custom: {
    50: '#739fb9',
    500: '#28789c',
    950: '#000000',
  },
}
SCSS
$custom: #28789c;
$custom-light: #739fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28789c",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 198.621,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.09391,
    "h": 231.9
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#28789C
secondary
#BE7E62
accent
#7645E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #28789C

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

Preview Lab → · Contrast checker → · Palette generator →

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