#23787B#23787B

#23787B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.078 H 198.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#23787B
RGBrgb(35, 120, 123)
HSLhsl(182, 56%, 31%)
HSVhsv(182, 72%, 48%)
CMYKcmyk(71.5%, 2.4%, 0%, 51.8%)
CIE-LABlab(45.93, -23.41, -8.94)
CIE-LCHlch(45.93, 25.06, 200.91°)
OKLaboklab(52.51% -0.0742 -0.0248)
OKLCHoklch(52.51% 0.078 198.5)
XYZxyz(10.9832, 15.2191, 21.0938)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23787B #7B2623
analogous
#237B52 #23787B #234C7B
triadic
#23787B #7B2378 #787B23
tetradic
#23787B #52237B #7B2623 #4C7B23
square
#23787B #52237B #7B2623 #4C7B23
split-complementary
#23787B #7B234C #7B5223
monochromatic
#081B1C #154A4B #23787B #31A6AB #4CC8CC

Accessibility & contrast

On white

5.19
#23787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#23787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23787B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23787B#FFFFFF#000000##FFFFFF
##23787B1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727B
Deuteranopia (green-blind)
#62697B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #23787b;
/* rgb */ color: rgb(35, 120, 123);
/* oklch */ color: oklch(52.5% 0.078 198.5);
Tailwind
colors: {
  custom: {
    50: '#6c9fa1',
    500: '#23787b',
    950: '#000000',
  },
}
SCSS
$custom: #23787b;
$custom-light: #6c9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#23787b",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.045,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.07827,
    "h": 198.5
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#23787B
secondary
#AE504C
accent
#4E49DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #23787B

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

Preview Lab → · Contrast checker → · Palette generator →

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