#42A5BB#42A5BB

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

Color values

HEX#42A5BB
RGBrgb(66, 165, 187)
HSLhsl(191, 48%, 50%)
HSVhsv(191, 65%, 73%)
CMYKcmyk(64.7%, 11.8%, 0%, 26.7%)
CIE-LABlab(63.06, -21.82, -19.84)
CIE-LCHlch(63.06, 29.49, 222.28°)
OKLaboklab(67.29% -0.0787 -0.0552)
OKLCHoklch(67.29% 0.096 215)
XYZxyz(24.6678, 31.6537, 51.8138)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5BB #BB5842
analogous
#42BB95 #42A5BB #4269BB
triadic
#42A5BB #BB42A5 #A5BB42
tetradic
#42A5BB #9542BB #BB5842 #69BB42
square
#42A5BB #9542BB #BB5842 #69BB42
split-complementary
#42A5BB #BB4269 #BB9542
monochromatic
#225561 #327D8E #42A5BB #6EBBCC #9CD0DC

Accessibility & contrast

On white

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

On black

7.33
#42A5BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5BB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5BB#FFFFFF#000000##000000
##42A5BB1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a5bb;
/* rgb */ color: rgb(66, 165, 187);
/* oklch */ color: oklch(67.3% 0.096 215.0);
Tailwind
colors: {
  custom: {
    50: '#84c0cf',
    500: '#42a5bb',
    950: '#000000',
  },
}
SCSS
$custom: #42a5bb;
$custom-light: #84c0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5bb",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 187
  },
  "hsl": {
    "h": 190.909,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6729,
    "c": 0.09609,
    "h": 215
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

primary
#42A5BB
secondary
#C89B91
accent
#6950D7
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #42A5BB

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

Preview Lab → · Contrast checker → · Palette generator →

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