#2D79CC#2D79CC

#2D79CC is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.2% C 0.148 H 253.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D79CC
RGBrgb(45, 121, 204)
HSLhsl(211, 64%, 49%)
HSVhsv(211, 78%, 80%)
CMYKcmyk(77.9%, 40.7%, 0%, 20%)
CIE-LABlab(50.20, 6.04, -49.56)
CIE-LCHlch(50.20, 49.93, 276.95°)
OKLaboklab(57.19% -0.0419 -0.1417)
OKLCHoklch(57.19% 0.148 253.5)
XYZxyz(18.8146, 18.5900, 59.7117)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79CC #CC802D
analogous
#2DC9CC #2D79CC #312DCC
triadic
#2D79CC #CC2D79 #79CC2D
tetradic
#2D79CC #CC2DC9 #CC802D #2DCC31
square
#2D79CC #CC2DC9 #CC802D #2DCC31
split-complementary
#2D79CC #CC312D #C9CC2D
monochromatic
#173E68 #225B9A #2D79CC #5B98DB #8DB8E6

Accessibility & contrast

On white

4.45
#2D79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2D79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D79CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79CC#FFFFFF#000000##000000
##2D79CC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d79cc;
/* rgb */ color: rgb(45, 121, 204);
/* oklch */ color: oklch(57.2% 0.148 253.5);
Tailwind
colors: {
  custom: {
    50: '#7d9fdc',
    500: '#2d79cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d79cc;
$custom-light: #7d9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79cc",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 211.321,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.14777,
    "h": 253.5
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#2D79CC
secondary
#D0AC85
accent
#9841E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2D79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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