#42897B#42897B

#42897B is a mid, moderate teal. Relative luminance 0.205; OKLCH L 58.0% C 0.075 H 178.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#42897B
RGBrgb(66, 137, 123)
HSLhsl(168, 35%, 40%)
HSVhsv(168, 52%, 54%)
CMYKcmyk(51.8%, 0%, 10.2%, 46.3%)
CIE-LABlab(52.37, -25.93, 0.69)
CIE-LCHlch(52.37, 25.93, 178.48°)
OKLaboklab(58% -0.0751 0.0014)
OKLCHoklch(58% 0.075 178.9)
XYZxyz(14.7660, 20.4783, 21.9096)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42897B #894250
analogous
#428958 #42897B #427489
triadic
#42897B #7B4289 #897B42
tetradic
#42897B #584289 #894250 #748942
square
#42897B #584289 #894250 #748942
split-complementary
#42897B #894274 #895842
monochromatic
#1A3631 #2E6056 #42897B #59AF9E #82C3B6

Accessibility & contrast

On white

4.12
#42897B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#42897B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42897B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42897B#FFFFFF#000000##000000
##42897B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827A
Deuteranopia (green-blind)
#79797C
Tritanopia (blue-blind)
#1F8B85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #42897b;
/* rgb */ color: rgb(66, 137, 123);
/* oklch */ color: oklch(58.0% 0.075 178.9);
Tailwind
colors: {
  custom: {
    50: '#7caca1',
    500: '#42897b',
    950: '#000000',
  },
}
SCSS
$custom: #42897b;
$custom-light: #7caca1;
$custom-dark: #000000;
JSON
{
  "hex": "#42897b",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 123
  },
  "hsl": {
    "h": 168.169,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.07516,
    "h": 178.9
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#42897B
secondary
#AE7983
accent
#5D73CB
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #42897B

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

Preview Lab → · Contrast checker → · Palette generator →

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