#42687F#42687F

#42687F is a mid, muted cyan. Relative luminance 0.126; OKLCH L 49.8% C 0.057 H 236.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#42687F
RGBrgb(66, 104, 127)
HSLhsl(203, 32%, 38%)
HSVhsv(203, 48%, 50%)
CMYKcmyk(48%, 18.1%, 0%, 50.2%)
CIE-LABlab(42.14, -6.74, -16.98)
CIE-LCHlch(42.14, 18.27, 248.34°)
OKLaboklab(49.84% -0.0316 -0.0471)
OKLCHoklch(49.84% 0.057 236.1)
XYZxyz(11.0265, 12.5904, 21.9237)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42687F #7F5942
analogous
#427F77 #42687F #42497F
triadic
#42687F #7F4268 #687F42
tetradic
#42687F #77427F #7F5942 #497F42
square
#42687F #77427F #7F5942 #497F42
split-complementary
#42687F #7F4249 #7F7742
monochromatic
#18262E #2D4757 #42687F #5789A7 #7FA5BC

Accessibility & contrast

On white

5.97
#42687F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#42687F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42687F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42687F#FFFFFF#000000##FFFFFF
##42687F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#276E6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #42687f;
/* rgb */ color: rgb(66, 104, 127);
/* oklch */ color: oklch(49.8% 0.057 236.1);
Tailwind
colors: {
  custom: {
    50: '#7a93a4',
    500: '#42687f',
    950: '#000000',
  },
}
SCSS
$custom: #42687f;
$custom-light: #7a93a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42687f",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 127
  },
  "hsl": {
    "h": 202.623,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.05672,
    "h": 236.1
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#42687F
secondary
#A78875
accent
#8760C8
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#090D0F
muted
#7B7E7F

Preview Lab

Preview with #42687F

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

Preview Lab → · Contrast checker → · Palette generator →

#42687F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva