#42799A#42799A

#42799A is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.078 H 236.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#42799A
RGBrgb(66, 121, 154)
HSLhsl(203, 40%, 43%)
HSVhsv(203, 57%, 60%)
CMYKcmyk(57.1%, 21.4%, 0%, 39.6%)
CIE-LABlab(48.47, -8.19, -23.32)
CIE-LCHlch(48.47, 24.71, 250.65°)
OKLaboklab(55.22% -0.0426 -0.0651)
OKLCHoklch(55.22% 0.078 236.8)
XYZxyz(14.9147, 17.1648, 33.0927)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42799A #9A6342
analogous
#429A8F #42799A #424D9A
triadic
#42799A #9A4279 #799A42
tetradic
#42799A #8F429A #9A6342 #4D9A42
square
#42799A #8F429A #9A6342 #4D9A42
split-complementary
#42799A #9A424D #9A8F42
monochromatic
#1D3644 #30576F #42799A #5F98BA #8AB4CD

Accessibility & contrast

On white

4.74
#42799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#42799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42799A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42799A#FFFFFF#000000##FFFFFF
##42799A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789C
Deuteranopia (green-blind)
#5E6F99
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42799a;
/* rgb */ color: rgb(66, 121, 154);
/* oklch */ color: oklch(55.2% 0.078 236.8);
Tailwind
colors: {
  custom: {
    50: '#7d9fb8',
    500: '#42799a',
    950: '#000000',
  },
}
SCSS
$custom: #42799a;
$custom-light: #7d9fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#42799a",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 202.5,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.0778,
    "h": 236.8
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

primary
#42799A
secondary
#B89580
accent
#8558D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42799A

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

Preview Lab → · Contrast checker → · Palette generator →

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