#23787F#23787F

#23787F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.079 H 203.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#23787F
RGBrgb(35, 120, 127)
HSLhsl(185, 57%, 32%)
HSVhsv(185, 72%, 50%)
CMYKcmyk(72.4%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.07, -22.14, -11.12)
CIE-LCHlch(46.07, 24.77, 206.67°)
OKLaboklab(52.66% -0.0724 -0.0309)
OKLCHoklch(52.66% 0.079 203.1)
XYZxyz(11.2387, 15.3213, 22.4395)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23787F #7F2A23
analogous
#237F58 #23787F #234A7F
triadic
#23787F #7F2378 #787F23
tetradic
#23787F #58237F #7F2A23 #4A7F23
square
#23787F #58237F #7F2A23 #4A7F23
split-complementary
#23787F #7F234A #7F5823
monochromatic
#091D1F #164B4F #23787F #30A5AF #4EC5CE

Accessibility & contrast

On white

5.17
#23787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#23787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23787F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23787F#FFFFFF#000000##FFFFFF
##23787F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #23787f;
/* rgb */ color: rgb(35, 120, 127);
/* oklch */ color: oklch(52.7% 0.079 203.1);
Tailwind
colors: {
  custom: {
    50: '#6d9fa4',
    500: '#23787f',
    950: '#000000',
  },
}
SCSS
$custom: #23787f;
$custom-light: #6d9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#23787f",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.565,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.07868,
    "h": 203.1
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#23787F
secondary
#B1544C
accent
#5348E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #23787F

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

Preview Lab → · Contrast checker → · Palette generator →

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