#2D79B6#2D79B6

#2D79B6 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.120 H 246.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2D79B6
RGBrgb(45, 121, 182)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 71%)
CMYKcmyk(75.3%, 33.5%, 0%, 28.6%)
CIE-LABlab(49.02, -2.12, -38.82)
CIE-LCHlch(49.02, 38.88, 266.88°)
OKLaboklab(55.87% -0.0476 -0.1102)
OKLCHoklch(55.87% 0.12 246.6)
XYZxyz(16.3598, 17.6081, 46.7834)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B6 #B66A2D
analogous
#2DB6AE #2D79B6 #2D35B6
triadic
#2D79B6 #B62D79 #79B62D
tetradic
#2D79B6 #AE2DB6 #B66A2D #35B62D
square
#2D79B6 #AE2DB6 #B66A2D #35B62D
split-complementary
#2D79B6 #B62D35 #B6AE2D
monochromatic
#153854 #215885 #2D79B6 #4D97D3 #7EB4DF

Accessibility & contrast

On white

4.64
#2D79B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D79B6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79B6#FFFFFF#000000##FFFFFF
##2D79B61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB9
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d79b6;
/* rgb */ color: rgb(45, 121, 182);
/* oklch */ color: oklch(55.9% 0.120 246.6);
Tailwind
colors: {
  custom: {
    50: '#799fcc',
    500: '#2d79b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b6;
$custom-light: #799fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b6",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 182
  },
  "hsl": {
    "h": 206.715,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.12007,
    "h": 246.6
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#2D79B6
secondary
#C89B77
accent
#8B44E3
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D79B6

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

Preview Lab → · Contrast checker → · Palette generator →

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