#42838E#42838E

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

Color values

HEX#42838E
RGBrgb(66, 131, 142)
HSLhsl(189, 37%, 41%)
HSVhsv(189, 54%, 56%)
CMYKcmyk(53.5%, 7.7%, 0%, 44.3%)
CIE-LABlab(51.09, -17.51, -12.29)
CIE-LCHlch(51.09, 21.39, 215.08°)
OKLaboklab(57.16% -0.0593 -0.034)
OKLCHoklch(57.16% 0.068 209.8)
XYZxyz(15.2436, 19.3425, 28.5161)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42838E #8E4D42
analogous
#428E73 #42838E #425D8E
triadic
#42838E #8E4283 #838E42
tetradic
#42838E #73428E #8E4D42 #5D8E42
square
#42838E #73428E #8E4D42 #5D8E42
split-complementary
#42838E #8E425D #8E7342
monochromatic
#1B363A #2F5C64 #42838E #5BA6B3 #84BDC6

Accessibility & contrast

On white

4.31
#42838E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#42838E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42838E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42838E#FFFFFF#000000##000000
##42838E1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#797F8F
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#098886
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #42838e;
/* rgb */ color: rgb(66, 131, 142);
/* oklch */ color: oklch(57.2% 0.068 209.8);
Tailwind
colors: {
  custom: {
    50: '#7da7af',
    500: '#42838e',
    950: '#000000',
  },
}
SCSS
$custom: #42838e;
$custom-light: #7da7af;
$custom-dark: #000000;
JSON
{
  "hex": "#42838e",
  "rgb": {
    "r": 66,
    "g": 131,
    "b": 142
  },
  "hsl": {
    "h": 188.684,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.06832,
    "h": 209.8
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#42838E
secondary
#B1837B
accent
#6C5BCD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #42838E

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

Preview Lab → · Contrast checker → · Palette generator →

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