#42779B#42779B

#42779B is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.080 H 240.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#42779B
RGBrgb(66, 119, 155)
HSLhsl(204, 40%, 43%)
HSVhsv(204, 57%, 61%)
CMYKcmyk(57.4%, 23.2%, 0%, 39.2%)
CIE-LABlab(47.90, -6.70, -24.78)
CIE-LCHlch(47.90, 25.67, 254.87°)
OKLaboklab(54.78% -0.0398 -0.0693)
OKLCHoklch(54.78% 0.08 240.1)
XYZxyz(14.7578, 16.7172, 33.4530)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42779B #9B6642
analogous
#429B92 #42779B #424A9B
triadic
#42779B #9B4277 #779B42
tetradic
#42779B #92429B #9B6642 #4A9B42
square
#42779B #92429B #9B6642 #4A9B42
split-complementary
#42779B #9B424A #9B9242
monochromatic
#1D3545 #305670 #42779B #5F96BB #8AB2CD

Accessibility & contrast

On white

4.83
#42779B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#42779B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42779B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42779B#FFFFFF#000000##FFFFFF
##42779B1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#5B6E9A
Tritanopia (blue-blind)
#008083
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42779b;
/* rgb */ color: rgb(66, 119, 155);
/* oklch */ color: oklch(54.8% 0.080 240.1);
Tailwind
colors: {
  custom: {
    50: '#7e9eb8',
    500: '#42779b',
    950: '#000000',
  },
}
SCSS
$custom: #42779b;
$custom-light: #7e9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#42779b",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 155
  },
  "hsl": {
    "h": 204.27,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.07995,
    "h": 240.1
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#42779B
secondary
#B89781
accent
#8858D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42779B

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

Preview Lab → · Contrast checker → · Palette generator →

#42779B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva