#23787D#23787D

#23787D is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.078 H 200.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#23787D
RGBrgb(35, 120, 125)
HSLhsl(183, 56%, 31%)
HSVhsv(183, 72%, 49%)
CMYKcmyk(72%, 4%, 0%, 51%)
CIE-LABlab(46.00, -22.78, -10.03)
CIE-LCHlch(46.00, 24.89, 203.77°)
OKLaboklab(52.58% -0.0733 -0.0278)
OKLCHoklch(52.58% 0.078 200.8)
XYZxyz(11.1096, 15.2696, 21.7599)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23787D #7D2823
analogous
#237D55 #23787D #234B7D
triadic
#23787D #7D2378 #787D23
tetradic
#23787D #55237D #7D2823 #4B7D23
square
#23787D #55237D #7D2823 #4B7D23
split-complementary
#23787D #7D234B #7D5523
monochromatic
#081C1D #164A4D #23787D #30A6AD #4DC6CD

Accessibility & contrast

On white

5.18
#23787D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#23787D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23787D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23787D#FFFFFF#000000##FFFFFF
##23787D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737D
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #23787d;
/* rgb */ color: rgb(35, 120, 125);
/* oklch */ color: oklch(52.6% 0.078 200.8);
Tailwind
colors: {
  custom: {
    50: '#6c9fa2',
    500: '#23787d',
    950: '#000000',
  },
}
SCSS
$custom: #23787d;
$custom-light: #6c9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#23787d",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 183.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.07841,
    "h": 200.8
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#23787D
secondary
#AF524C
accent
#5148E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #23787D

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

Preview Lab → · Contrast checker → · Palette generator →

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