#42799B#42799B

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

Color values

HEX#42799B
RGBrgb(66, 121, 155)
HSLhsl(203, 40%, 43%)
HSVhsv(203, 57%, 61%)
CMYKcmyk(57.4%, 21.9%, 0%, 39.2%)
CIE-LABlab(48.51, -7.86, -23.84)
CIE-LCHlch(48.51, 25.10, 251.74°)
OKLaboklab(55.27% -0.0422 -0.0666)
OKLCHoklch(55.27% 0.079 237.6)
XYZxyz(14.9983, 17.1982, 33.5332)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42799B #9B6442
analogous
#429B90 #42799B #424D9B
triadic
#42799B #9B4279 #799B42
tetradic
#42799B #90429B #9B6442 #4D9B42
square
#42799B #90429B #9B6442 #4D9B42
split-complementary
#42799B #9B424D #9B9042
monochromatic
#1D3645 #305770 #42799B #5F98BB #8AB4CD

Accessibility & contrast

On white

4.73
#42799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#42799B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42799B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42799B#FFFFFF#000000##FFFFFF
##42799B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69789D
Deuteranopia (green-blind)
#5D6F9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42799b;
/* rgb */ color: rgb(66, 121, 155);
/* oklch */ color: oklch(55.3% 0.079 237.6);
Tailwind
colors: {
  custom: {
    50: '#7e9fb8',
    500: '#42799b',
    950: '#000000',
  },
}
SCSS
$custom: #42799b;
$custom-light: #7e9fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#42799b",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 202.921,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.07885,
    "h": 237.6
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#42799B
secondary
#B89681
accent
#8658D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42799B

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

Preview Lab → · Contrast checker → · Palette generator →

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