#42A7DB#42A7DB

#42A7DB is a light, moderate cyan. Relative luminance 0.339; OKLCH L 69.2% C 0.120 H 234.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#42A7DB
RGBrgb(66, 167, 219)
HSLhsl(200, 68%, 56%)
HSVhsv(200, 70%, 86%)
CMYKcmyk(69.9%, 23.7%, 0%, 14.1%)
CIE-LABlab(64.89, -12.65, -34.80)
CIE-LCHlch(64.89, 37.03, 250.03°)
OKLaboklab(69.17% -0.0688 -0.0979)
OKLCHoklch(69.17% 0.12 234.9)
XYZxyz(28.8466, 33.9069, 72.0285)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7DB #DB7642
analogous
#42DBC2 #42A7DB #425ADB
triadic
#42A7DB #DB42A7 #A7DB42
tetradic
#42A7DB #C242DB #DB7642 #5ADB42
square
#42A7DB #C242DB #DB7642 #5ADB42
split-complementary
#42A7DB #DB425A #DBC242
monochromatic
#1A6389 #2488BC #42A7DB #75BFE5 #A9D7EF

Accessibility & contrast

On white

2.70
#42A7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#42A7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7DB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7DB#FFFFFF#000000##000000
##42A7DB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DD
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#00B5B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a7db;
/* rgb */ color: rgb(66, 167, 219);
/* oklch */ color: oklch(69.2% 0.120 234.9);
Tailwind
colors: {
  custom: {
    50: '#88c1e6',
    500: '#42a7db',
    950: '#000000',
  },
}
SCSS
$custom: #42a7db;
$custom-light: #88c1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7db",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 200.392,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.69166,
    "c": 0.11967,
    "h": 234.9
  },
  "luminance": 0.3391
}

Semantic roles & 50–950 ramp

primary
#42A7DB
secondary
#DCB29D
accent
#783DEB
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #42A7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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