#2D79C7#2D79C7

#2D79C7 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.141 H 252.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D79C7
RGBrgb(45, 121, 199)
HSLhsl(210, 63%, 48%)
HSVhsv(210, 77%, 78%)
CMYKcmyk(77.4%, 39.2%, 0%, 22%)
CIE-LABlab(49.92, 4.17, -47.15)
CIE-LCHlch(49.92, 47.34, 275.06°)
OKLaboklab(56.88% -0.0431 -0.1346)
OKLCHoklch(56.88% 0.141 252.2)
XYZxyz(18.2245, 18.3540, 56.6039)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79C7 #C77B2D
analogous
#2DC6C7 #2D79C7 #2E2DC7
triadic
#2D79C7 #C72D79 #79C72D
tetradic
#2D79C7 #C72DC6 #C77B2D #2DC72E
square
#2D79C7 #C72DC6 #C77B2D #2DC72E
split-complementary
#2D79C7 #C72E2D #C6C72D
monochromatic
#163C63 #225B95 #2D79C7 #5898D9 #8AB7E5

Accessibility & contrast

On white

4.50
#2D79C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2D79C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D79C7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79C7#FFFFFF#000000##000000
##2D79C71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ECA
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d79c7;
/* rgb */ color: rgb(45, 121, 199);
/* oklch */ color: oklch(56.9% 0.141 252.2);
Tailwind
colors: {
  custom: {
    50: '#7c9fd8',
    500: '#2d79c7',
    950: '#000000',
  },
}
SCSS
$custom: #2d79c7;
$custom-light: #7c9fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79c7",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 210.39,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.14137,
    "h": 252.2
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#2D79C7
secondary
#CEA881
accent
#9542E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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