#2D79AB#2D79AB

#2D79AB is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.107 H 241.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D79AB
RGBrgb(45, 121, 171)
HSLhsl(204, 58%, 42%)
HSVhsv(204, 74%, 67%)
CMYKcmyk(73.7%, 29.2%, 0%, 32.9%)
CIE-LABlab(48.48, -6.11, -33.29)
CIE-LCHlch(48.48, 33.85, 259.60°)
OKLaboklab(55.27% -0.051 -0.0941)
OKLCHoklch(55.27% 0.107 241.5)
XYZxyz(15.2674, 17.1712, 41.0299)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79AB #AB5F2D
analogous
#2DAB9E #2D79AB #2D3AAB
triadic
#2D79AB #AB2D79 #79AB2D
tetradic
#2D79AB #9E2DAB #AB5F2D #3AAB2D
square
#2D79AB #9E2DAB #AB5F2D #3AAB2D
split-complementary
#2D79AB #AB2D3A #AB9E2D
monochromatic
#14344A #20577B #2D79AB #4799CE #77B4DB

Accessibility & contrast

On white

4.74
#2D79AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2D79AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79AB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79AB#FFFFFF#000000##FFFFFF
##2D79AB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAD
Deuteranopia (green-blind)
#516EAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d79ab;
/* rgb */ color: rgb(45, 121, 171);
/* oklch */ color: oklch(55.3% 0.107 241.5);
Tailwind
colors: {
  custom: {
    50: '#779fc4',
    500: '#2d79ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d79ab;
$custom-light: #779fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79ab",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 203.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.10705,
    "h": 241.5
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#2D79AB
secondary
#C39171
accent
#8446E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D79AB

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

Preview Lab → · Contrast checker → · Palette generator →

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