#42799C#42799C

#42799C is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.080 H 238.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#42799C
RGBrgb(66, 121, 156)
HSLhsl(203, 41%, 44%)
HSVhsv(203, 58%, 61%)
CMYKcmyk(57.7%, 22.4%, 0%, 38.8%)
CIE-LABlab(48.55, -7.54, -24.36)
CIE-LCHlch(48.55, 25.50, 252.80°)
OKLaboklab(55.31% -0.0418 -0.0681)
OKLCHoklch(55.31% 0.08 238.4)
XYZxyz(15.0827, 17.2319, 33.9773)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42799C #9C6542
analogous
#429C92 #42799C #424C9C
triadic
#42799C #9C4279 #799C42
tetradic
#42799C #92429C #9C6542 #4C9C42
square
#42799C #92429C #9C6542 #4C9C42
split-complementary
#42799C #9C424C #9C9242
monochromatic
#1E3646 #305871 #42799C #6098BC #8BB4CE

Accessibility & contrast

On white

4.72
#42799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#42799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42799C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42799C#FFFFFF#000000##FFFFFF
##42799C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69799E
Deuteranopia (green-blind)
#5D6F9B
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42799c;
/* rgb */ color: rgb(66, 121, 156);
/* oklch */ color: oklch(55.3% 0.080 238.4);
Tailwind
colors: {
  custom: {
    50: '#7e9fb9',
    500: '#42799c',
    950: '#000000',
  },
}
SCSS
$custom: #42799c;
$custom-light: #7e9fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#42799c",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 203.333,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.07993,
    "h": 238.4
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#42799C
secondary
#B99781
accent
#8657D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42799C

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

Preview Lab → · Contrast checker → · Palette generator →

#42799C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva