#42A7BB#42A7BB

#42A7BB is a light, moderate teal. Relative luminance 0.324; OKLCH L 67.8% C 0.096 H 213.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#42A7BB
RGBrgb(66, 167, 187)
HSLhsl(190, 48%, 50%)
HSVhsv(190, 65%, 73%)
CMYKcmyk(64.7%, 10.7%, 0%, 26.7%)
CIE-LABlab(63.66, -22.85, -18.93)
CIE-LCHlch(63.66, 29.67, 219.63°)
OKLaboklab(67.77% -0.0808 -0.0526)
OKLCHoklch(67.77% 0.096 213.1)
XYZxyz(25.0314, 32.3808, 51.9350)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7BB #BB5642
analogous
#42BB92 #42A7BB #426BBB
triadic
#42A7BB #BB42A7 #A7BB42
tetradic
#42A7BB #9242BB #BB5642 #6BBB42
square
#42A7BB #9242BB #BB5642 #6BBB42
split-complementary
#42A7BB #BB426B #BB9242
monochromatic
#225661 #327F8E #42A7BB #6EBCCC #9CD1DC

Accessibility & contrast

On white

2.81
#42A7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#42A7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7BB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7BB#FFFFFF#000000##000000
##42A7BB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A2BC
Deuteranopia (green-blind)
#8695BB
Tritanopia (blue-blind)
#00AFAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a7bb;
/* rgb */ color: rgb(66, 167, 187);
/* oklch */ color: oklch(67.8% 0.096 213.1);
Tailwind
colors: {
  custom: {
    50: '#84c1cf',
    500: '#42a7bb',
    950: '#000000',
  },
}
SCSS
$custom: #42a7bb;
$custom-light: #84c1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7bb",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 187
  },
  "hsl": {
    "h": 189.917,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67773,
    "c": 0.09638,
    "h": 213.1
  },
  "luminance": 0.32384
}

Semantic roles & 50–950 ramp

primary
#42A7BB
secondary
#C89A91
accent
#6750D7
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #42A7BB

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

Preview Lab → · Contrast checker → · Palette generator →

#42A7BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva