#235642#235642

#235642 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 41.2% C 0.065 H 165.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#235642
RGBrgb(35, 86, 66)
HSLhsl(156, 42%, 24%)
HSVhsv(156, 59%, 34%)
CMYKcmyk(59.3%, 0%, 23.3%, 66.3%)
CIE-LABlab(32.71, -22.58, 6.56)
CIE-LCHlch(32.71, 23.51, 163.81°)
OKLaboklab(41.19% -0.0627 0.0168)
OKLCHoklch(41.19% 0.065 165)
XYZxyz(5.0038, 7.4058, 6.3190)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235642 #562337
analogous
#235628 #235642 #235056
triadic
#235642 #422356 #564223
tetradic
#235642 #282356 #562337 #505623
square
#235642 #282356 #562337 #505623
split-complementary
#235642 #562350 #562823
monochromatic
#091611 #112B21 #235642 #358163 #46AD85

Accessibility & contrast

On white

8.46
#235642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#235642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235642
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235642#FFFFFF#000000##FFFFFF
##2356421.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545041
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#0E5650
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #235642;
/* rgb */ color: rgb(35, 86, 66);
/* oklch */ color: oklch(41.2% 0.065 165.0);
Tailwind
colors: {
  custom: {
    50: '#638676',
    500: '#235642',
    950: '#000000',
  },
}
SCSS
$custom: #235642;
$custom-light: #638676;
$custom-dark: #000000;
JSON
{
  "hex": "#235642",
  "rgb": {
    "r": 35,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 156.471,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41193,
    "c": 0.0649,
    "h": 165
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#235642
secondary
#8A4B64
accent
#5687D2
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#050B08
muted
#7A7C7B

Preview Lab

Preview with #235642

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

Preview Lab → · Contrast checker → · Palette generator →

#235642 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva