#2F79AE#2F79AE

#2F79AE is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.110 H 243.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F79AE
RGBrgb(47, 121, 174)
HSLhsl(205, 57%, 43%)
HSVhsv(205, 73%, 68%)
CMYKcmyk(73%, 30.5%, 0%, 31.8%)
CIE-LABlab(48.68, -4.75, -34.72)
CIE-LCHlch(48.68, 35.04, 262.21°)
OKLaboklab(55.49% -0.0489 -0.0982)
OKLCHoklch(55.49% 0.11 243.5)
XYZxyz(15.6467, 17.3333, 42.5572)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79AE #AE642F
analogous
#2FAEA3 #2F79AE #2F3AAE
triadic
#2F79AE #AE2F79 #79AE2F
tetradic
#2F79AE #A32FAE #AE642F #3AAE2F
square
#2F79AE #A32FAE #AE642F #3AAE2F
split-complementary
#2F79AE #AE2F3A #AEA32F
monochromatic
#15364E #22577E #2F79AE #4C98CF #7CB4DC

Accessibility & contrast

On white

4.70
#2F79AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F79AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F79AE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79AE#FFFFFF#000000##FFFFFF
##2F79AE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AB0
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f79ae;
/* rgb */ color: rgb(47, 121, 174);
/* oklch */ color: oklch(55.5% 0.110 243.5);
Tailwind
colors: {
  custom: {
    50: '#789fc6',
    500: '#2f79ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f79ae;
$custom-light: #789fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79ae",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 174
  },
  "hsl": {
    "h": 205.039,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.10974,
    "h": 243.5
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#2F79AE
secondary
#C49675
accent
#8747E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F79AE

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

Preview Lab → · Contrast checker → · Palette generator →

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