#2F79AA#2F79AA

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

Color values

HEX#2F79AA
RGBrgb(47, 121, 170)
HSLhsl(204, 57%, 43%)
HSVhsv(204, 72%, 67%)
CMYKcmyk(72.4%, 28.8%, 0%, 33.3%)
CIE-LABlab(48.49, -6.19, -32.69)
CIE-LCHlch(48.49, 33.27, 259.29°)
OKLaboklab(55.27% -0.0502 -0.0924)
OKLCHoklch(55.27% 0.105 241.5)
XYZxyz(15.2626, 17.1796, 40.5340)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79AA #AA602F
analogous
#2FAA9D #2F79AA #2F3CAA
triadic
#2F79AA #AA2F79 #79AA2F
tetradic
#2F79AA #9D2FAA #AA602F #3CAA2F
square
#2F79AA #9D2FAA #AA602F #3CAA2F
split-complementary
#2F79AA #AA2F3C #AA9D2F
monochromatic
#14354A #22577A #2F79AA #4998CD #79B4DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F79AA#FFFFFF#000000##FFFFFF
##2F79AA1.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)
#627AAC
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f79aa;
/* rgb */ color: rgb(47, 121, 170);
/* oklch */ color: oklch(55.3% 0.105 241.5);
Tailwind
colors: {
  custom: {
    50: '#779fc3',
    500: '#2f79aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f79aa;
$custom-light: #779fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79aa",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 203.902,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.10511,
    "h": 241.5
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#2F79AA
secondary
#C29272
accent
#8448E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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