#28838C#28838C

#28838C is a mid, moderate teal. Relative luminance 0.186; OKLCH L 56.2% C 0.084 H 204.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#28838C
RGBrgb(40, 131, 140)
HSLhsl(185, 56%, 35%)
HSVhsv(185, 71%, 55%)
CMYKcmyk(71.4%, 6.4%, 0%, 45.1%)
CIE-LABlab(50.19, -22.98, -12.56)
CIE-LCHlch(50.19, 26.19, 208.66°)
OKLaboklab(56.18% -0.076 -0.0349)
OKLCHoklch(56.18% 0.084 204.7)
XYZxyz(13.7229, 18.5756, 27.6681)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28838C #8C3128
analogous
#288C63 #28838C #28518C
triadic
#28838C #8C2883 #838C28
tetradic
#28838C #63288C #8C3128 #518C28
square
#28838C #63288C #8C3128 #518C28
split-complementary
#28838C #8C2851 #8C6328
monochromatic
#0D2A2D #1A565C #28838C #36B0BC #5EC6D1

Accessibility & contrast

On white

4.45
#28838C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#28838C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28838C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28838C#FFFFFF#000000##000000
##28838C1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8D
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28838c;
/* rgb */ color: rgb(40, 131, 140);
/* oklch */ color: oklch(56.2% 0.084 204.7);
Tailwind
colors: {
  custom: {
    50: '#71a7ad',
    500: '#28838c',
    950: '#000000',
  },
}
SCSS
$custom: #28838c;
$custom-light: #71a7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28838c",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 140
  },
  "hsl": {
    "h": 185.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.08362,
    "h": 204.7
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#28838C
secondary
#B6625A
accent
#5649DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #28838C

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

Preview Lab → · Contrast checker → · Palette generator →

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