#2A79B7#2A79B7

#2A79B7 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.122 H 246.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A79B7
RGBrgb(42, 121, 183)
HSLhsl(206, 63%, 44%)
HSVhsv(206, 77%, 72%)
CMYKcmyk(77%, 33.9%, 0%, 28.2%)
CIE-LABlab(48.99, -2.12, -39.45)
CIE-LCHlch(48.99, 39.51, 266.92°)
OKLaboklab(55.84% -0.0489 -0.1121)
OKLCHoklch(55.84% 0.122 246.4)
XYZxyz(16.3362, 17.5840, 47.3236)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79B7 #B7682A
analogous
#2AB7AF #2A79B7 #2A33B7
triadic
#2A79B7 #B72A79 #79B72A
tetradic
#2A79B7 #AF2AB7 #B7682A #33B72A
square
#2A79B7 #AF2AB7 #B7682A #33B72A
split-complementary
#2A79B7 #B72A33 #B7AF2A
monochromatic
#133753 #1F5885 #2A79B7 #4998D5 #7BB4E1

Accessibility & contrast

On white

4.65
#2A79B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2A79B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79B7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79B7#FFFFFF#000000##FFFFFF
##2A79B71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBA
Deuteranopia (green-blind)
#486FB6
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a79b7;
/* rgb */ color: rgb(42, 121, 183);
/* oklch */ color: oklch(55.8% 0.122 246.4);
Tailwind
colors: {
  custom: {
    50: '#789fcd',
    500: '#2a79b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a79b7;
$custom-light: #789fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79b7",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 183
  },
  "hsl": {
    "h": 206.383,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.12231,
    "h": 246.4
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#2A79B7
secondary
#C99974
accent
#8A42E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A79B7

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

Preview Lab → · Contrast checker → · Palette generator →

#2A79B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva