#2E79AC#2E79AC

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

Color values

HEX#2E79AC
RGBrgb(46, 121, 172)
HSLhsl(204, 58%, 43%)
HSVhsv(204, 73%, 67%)
CMYKcmyk(73.3%, 29.7%, 0%, 32.5%)
CIE-LABlab(48.55, -5.61, -33.75)
CIE-LCHlch(48.55, 34.22, 260.56°)
OKLaboklab(55.35% -0.0501 -0.0954)
OKLCHoklch(55.35% 0.108 242.3)
XYZxyz(15.4076, 17.2324, 41.5359)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79AC #AC612E
analogous
#2EACA0 #2E79AC #2E3AAC
triadic
#2E79AC #AC2E79 #79AC2E
tetradic
#2E79AC #A02EAC #AC612E #3AAC2E
square
#2E79AC #A02EAC #AC612E #3AAC2E
split-complementary
#2E79AC #AC2E3A #ACA02E
monochromatic
#14354B #21577C #2E79AC #4998CE #79B4DB

Accessibility & contrast

On white

4.72
#2E79AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2E79AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79AC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79AC#FFFFFF#000000##FFFFFF
##2E79AC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e79ac;
/* rgb */ color: rgb(46, 121, 172);
/* oklch */ color: oklch(55.3% 0.108 242.3);
Tailwind
colors: {
  custom: {
    50: '#779fc5',
    500: '#2e79ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e79ac;
$custom-light: #779fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79ac",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 204.286,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.1078,
    "h": 242.3
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#2E79AC
secondary
#C39372
accent
#8547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E79AC

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

Preview Lab → · Contrast checker → · Palette generator →

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