#2E79AB#2E79AB

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

Color values

HEX#2E79AB
RGBrgb(46, 121, 171)
HSLhsl(204, 58%, 43%)
HSVhsv(204, 73%, 67%)
CMYKcmyk(73.1%, 29.2%, 0%, 32.9%)
CIE-LABlab(48.50, -5.97, -33.25)
CIE-LCHlch(48.50, 33.78, 259.82°)
OKLaboklab(55.3% -0.0504 -0.094)
OKLCHoklch(55.3% 0.107 241.8)
XYZxyz(15.3119, 17.1941, 41.0320)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79AB #AB602E
analogous
#2EAB9F #2E79AB #2E3AAB
triadic
#2E79AB #AB2E79 #79AB2E
tetradic
#2E79AB #9F2EAB #AB602E #3AAB2E
square
#2E79AB #9F2EAB #AB602E #3AAB2E
split-complementary
#2E79AB #AB2E3A #AB9F2E
monochromatic
#14354B #21577B #2E79AB #4898CE #79B4DB

Accessibility & contrast

On white

4.73
#2E79AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2E79AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79AB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79AB#FFFFFF#000000##FFFFFF
##2E79AB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.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: #2e79ab;
/* rgb */ color: rgb(46, 121, 171);
/* oklch */ color: oklch(55.3% 0.107 241.8);
Tailwind
colors: {
  custom: {
    50: '#779fc4',
    500: '#2e79ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e79ab;
$custom-light: #779fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79ab",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 204,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.10666,
    "h": 241.8
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#2E79AB
secondary
#C39272
accent
#8547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2E79AB

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

Preview Lab → · Contrast checker → · Palette generator →

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