#28838B#28838B

#28838B is a mid, moderate teal. Relative luminance 0.185; OKLCH L 56.1% C 0.083 H 203.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#28838B
RGBrgb(40, 131, 139)
HSLhsl(185, 55%, 35%)
HSVhsv(185, 71%, 55%)
CMYKcmyk(71.2%, 5.8%, 0%, 45.5%)
CIE-LABlab(50.15, -23.30, -12.03)
CIE-LCHlch(50.15, 26.22, 207.31°)
OKLaboklab(56.14% -0.0764 -0.0334)
OKLCHoklch(56.14% 0.083 203.6)
XYZxyz(13.6495, 18.5462, 27.2815)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28838B #8B3028
analogous
#288B61 #28838B #28528B
triadic
#28838B #8B2883 #838B28
tetradic
#28838B #61288B #8B3028 #528B28
square
#28838B #61288B #8B3028 #528B28
split-complementary
#28838B #8B2852 #8B6128
monochromatic
#0D292C #1A565B #28838B #36B0BB #5DC7D0

Accessibility & contrast

On white

4.46
#28838B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#28838B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28838B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28838B#FFFFFF#000000##000000
##28838B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8C
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#008885
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28838b;
/* rgb */ color: rgb(40, 131, 139);
/* oklch */ color: oklch(56.1% 0.083 203.6);
Tailwind
colors: {
  custom: {
    50: '#71a7ac',
    500: '#28838b',
    950: '#000000',
  },
}
SCSS
$custom: #28838b;
$custom-light: #71a7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#28838b",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 139
  },
  "hsl": {
    "h": 184.848,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.08342,
    "h": 203.6
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#28838B
secondary
#B66159
accent
#5549DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #28838B

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

Preview Lab → · Contrast checker → · Palette generator →

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