#42A5BC#42A5BC

#42A5BC is a light, moderate cyan. Relative luminance 0.317; OKLCH L 67.3% C 0.097 H 215.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#42A5BC
RGBrgb(66, 165, 188)
HSLhsl(191, 48%, 50%)
HSVhsv(191, 65%, 74%)
CMYKcmyk(64.9%, 12.2%, 0%, 26.3%)
CIE-LABlab(63.09, -21.51, -20.35)
CIE-LCHlch(63.09, 29.61, 223.40°)
OKLaboklab(67.33% -0.0783 -0.0566)
OKLCHoklch(67.33% 0.097 215.9)
XYZxyz(24.7753, 31.6967, 52.3796)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5BC #BC5942
analogous
#42BC96 #42A5BC #4268BC
triadic
#42A5BC #BC42A5 #A5BC42
tetradic
#42A5BC #9642BC #BC5942 #68BC42
square
#42A5BC #9642BC #BC5942 #68BC42
split-complementary
#42A5BC #BC4268 #BC9642
monochromatic
#225561 #327D8F #42A5BC #6FBBCC #9CD0DC

Accessibility & contrast

On white

2.86
#42A5BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#42A5BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5BC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5BC#FFFFFF#000000##000000
##42A5BC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A0BD
Deuteranopia (green-blind)
#8493BC
Tritanopia (blue-blind)
#00ADAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42a5bc;
/* rgb */ color: rgb(66, 165, 188);
/* oklch */ color: oklch(67.3% 0.097 215.9);
Tailwind
colors: {
  custom: {
    50: '#84c0d0',
    500: '#42a5bc',
    950: '#000000',
  },
}
SCSS
$custom: #42a5bc;
$custom-light: #84c0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5bc",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 188
  },
  "hsl": {
    "h": 191.311,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.67331,
    "c": 0.09659,
    "h": 215.9
  },
  "luminance": 0.31699
}

Semantic roles & 50–950 ramp

primary
#42A5BC
secondary
#C99C91
accent
#6A50D8
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1214
muted
#7D8182

Preview Lab

Preview with #42A5BC

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

Preview Lab → · Contrast checker → · Palette generator →

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