#42A4BB#42A4BB

#42A4BB is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.0% C 0.096 H 216.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#42A4BB
RGBrgb(66, 164, 187)
HSLhsl(191, 48%, 50%)
HSVhsv(191, 65%, 73%)
CMYKcmyk(64.7%, 12.3%, 0%, 26.7%)
CIE-LABlab(62.76, -21.30, -20.30)
CIE-LCHlch(62.76, 29.43, 223.61°)
OKLaboklab(67.05% -0.0776 -0.0564)
OKLCHoklch(67.05% 0.096 216)
XYZxyz(24.4882, 31.2944, 51.7539)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4BB #BB5942
analogous
#42BB96 #42A4BB #4268BB
triadic
#42A4BB #BB42A4 #A4BB42
tetradic
#42A4BB #9642BB #BB5942 #68BB42
square
#42A4BB #9642BB #BB5942 #68BB42
split-complementary
#42A4BB #BB4268 #BB9642
monochromatic
#225561 #327C8E #42A4BB #6EBACC #9CD0DC

Accessibility & contrast

On white

2.89
#42A4BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#42A4BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4BB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4BB#FFFFFF#000000##000000
##42A4BB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#949FBC
Deuteranopia (green-blind)
#8392BB
Tritanopia (blue-blind)
#00ACAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42a4bb;
/* rgb */ color: rgb(66, 164, 187);
/* oklch */ color: oklch(67.0% 0.096 216.0);
Tailwind
colors: {
  custom: {
    50: '#84bfcf',
    500: '#42a4bb',
    950: '#000000',
  },
}
SCSS
$custom: #42a4bb;
$custom-light: #84bfcf;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4bb",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 187
  },
  "hsl": {
    "h": 191.405,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67049,
    "c": 0.09598,
    "h": 216
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#42A4BB
secondary
#C89B91
accent
#6A50D7
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #42A4BB

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

Preview Lab → · Contrast checker → · Palette generator →

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