#2D79B9#2D79B9

#2D79B9 is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.124 H 247.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D79B9
RGBrgb(45, 121, 185)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 73%)
CMYKcmyk(75.7%, 34.6%, 0%, 27.5%)
CIE-LABlab(49.17, -1.01, -40.31)
CIE-LCHlch(49.17, 40.32, 268.56°)
OKLaboklab(56.04% -0.0468 -0.1146)
OKLCHoklch(56.04% 0.124 247.8)
XYZxyz(16.6732, 17.7335, 48.4337)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B9 #B96D2D
analogous
#2DB9B3 #2D79B9 #2D33B9
triadic
#2D79B9 #B92D79 #79B92D
tetradic
#2D79B9 #B32DB9 #B96D2D #33B92D
square
#2D79B9 #B32DB9 #B96D2D #33B92D
split-complementary
#2D79B9 #B92D33 #B9B32D
monochromatic
#153957 #215988 #2D79B9 #4F97D4 #80B4E0

Accessibility & contrast

On white

4.62
#2D79B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2D79B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79B9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79B9#FFFFFF#000000##FFFFFF
##2D79B91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBC
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d79b9;
/* rgb */ color: rgb(45, 121, 185);
/* oklch */ color: oklch(56.0% 0.124 247.8);
Tailwind
colors: {
  custom: {
    50: '#799fce',
    500: '#2d79b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b9;
$custom-light: #799fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b9",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 185
  },
  "hsl": {
    "h": 207.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.12374,
    "h": 247.8
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#2D79B9
secondary
#C99D79
accent
#8D44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D79B9

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

Preview Lab → · Contrast checker → · Palette generator →

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