#42838D#42838D

#42838D is a mid, moderate teal. Relative luminance 0.193; OKLCH L 57.1% C 0.068 H 208.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#42838D
RGBrgb(66, 131, 141)
HSLhsl(188, 36%, 41%)
HSVhsv(188, 53%, 55%)
CMYKcmyk(53.2%, 7.1%, 0%, 44.7%)
CIE-LABlab(51.05, -17.80, -11.76)
CIE-LCHlch(51.05, 21.34, 213.46°)
OKLaboklab(57.12% -0.0597 -0.0325)
OKLCHoklch(57.12% 0.068 208.5)
XYZxyz(15.1689, 19.3126, 28.1225)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42838D #8D4C42
analogous
#428D71 #42838D #425D8D
triadic
#42838D #8D4283 #838D42
tetradic
#42838D #71428D #8D4C42 #5D8D42
square
#42838D #71428D #8D4C42 #5D8D42
split-complementary
#42838D #8D425D #8D7142
monochromatic
#1B363A #2E5C63 #42838D #5AA6B2 #84BDC5

Accessibility & contrast

On white

4.32
#42838D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#42838D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42838D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42838D#FFFFFF#000000##000000
##42838D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#797F8E
Deuteranopia (green-blind)
#6E768D
Tritanopia (blue-blind)
#0B8886
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #42838d;
/* rgb */ color: rgb(66, 131, 141);
/* oklch */ color: oklch(57.1% 0.068 208.5);
Tailwind
colors: {
  custom: {
    50: '#7da7ae',
    500: '#42838d',
    950: '#000000',
  },
}
SCSS
$custom: #42838d;
$custom-light: #7da7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#42838d",
  "rgb": {
    "r": 66,
    "g": 131,
    "b": 141
  },
  "hsl": {
    "h": 188,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.06797,
    "h": 208.5
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#42838D
secondary
#B0827B
accent
#6B5CCC
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #42838D

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

Preview Lab → · Contrast checker → · Palette generator →

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