#2D79B7#2D79B7

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

Color values

HEX#2D79B7
RGBrgb(45, 121, 183)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 75%, 72%)
CMYKcmyk(75.4%, 33.9%, 0%, 28.2%)
CIE-LABlab(49.07, -1.75, -39.32)
CIE-LCHlch(49.07, 39.35, 267.45°)
OKLaboklab(55.93% -0.0473 -0.1117)
OKLCHoklch(55.93% 0.121 247)
XYZxyz(16.4635, 17.6496, 47.3296)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B7 #B76B2D
analogous
#2DB7B0 #2D79B7 #2D34B7
triadic
#2D79B7 #B72D79 #79B72D
tetradic
#2D79B7 #B02DB7 #B76B2D #34B72D
square
#2D79B7 #B02DB7 #B76B2D #34B72D
split-complementary
#2D79B7 #B72D34 #B7B02D
monochromatic
#153855 #215986 #2D79B7 #4E97D3 #7FB4DF

Accessibility & contrast

On white

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

On black

4.53
#2D79B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D79B7#FFFFFF#000000##FFFFFF
##2D79B71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#496FB6
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d79b7;
/* rgb */ color: rgb(45, 121, 183);
/* oklch */ color: oklch(55.9% 0.121 247.0);
Tailwind
colors: {
  custom: {
    50: '#799fcd',
    500: '#2d79b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b7;
$custom-light: #799fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b7",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 183
  },
  "hsl": {
    "h": 206.957,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.12129,
    "h": 247
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#2D79B7
secondary
#C89C78
accent
#8C44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D79B7

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

Preview Lab → · Contrast checker → · Palette generator →

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