#288798#288798

#288798 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.7% C 0.089 H 212.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#288798
RGBrgb(40, 135, 152)
HSLhsl(189, 58%, 38%)
HSVhsv(189, 74%, 60%)
CMYKcmyk(73.7%, 11.2%, 0%, 40.4%)
CIE-LABlab(51.89, -21.20, -16.98)
CIE-LCHlch(51.89, 27.16, 218.70°)
OKLaboklab(57.69% -0.075 -0.0473)
OKLCHoklch(57.69% 0.089 212.2)
XYZxyz(15.2041, 20.0443, 32.7673)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288798 #983928
analogous
#289871 #288798 #284F98
triadic
#288798 #982887 #879828
tetradic
#288798 #712898 #983928 #4F9828
square
#288798 #712898 #983928 #4F9828
split-complementary
#288798 #98284F #987128
monochromatic
#0F3137 #1B5C68 #288798 #35B2C8 #64C5D6

Accessibility & contrast

On white

4.19
#288798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#288798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288798
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288798#FFFFFF#000000##000000
##2887981.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8299
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288798;
/* rgb */ color: rgb(40, 135, 152);
/* oklch */ color: oklch(57.7% 0.089 212.2);
Tailwind
colors: {
  custom: {
    50: '#73aab6',
    500: '#288798',
    950: '#000000',
  },
}
SCSS
$custom: #288798;
$custom-light: #73aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#288798",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 189.107,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.08865,
    "h": 212.2
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#288798
secondary
#BC6E60
accent
#5E46E2
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #288798

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

Preview Lab → · Contrast checker → · Palette generator →

#288798 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva