#2F79AD#2F79AD

#2F79AD is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.109 H 243.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F79AD
RGBrgb(47, 121, 173)
HSLhsl(205, 57%, 43%)
HSVhsv(205, 73%, 68%)
CMYKcmyk(72.8%, 30.1%, 0%, 32.2%)
CIE-LABlab(48.63, -5.11, -34.21)
CIE-LCHlch(48.63, 34.59, 261.50°)
OKLaboklab(55.44% -0.0492 -0.0968)
OKLCHoklch(55.44% 0.109 243)
XYZxyz(15.5496, 17.2945, 42.0457)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79AD #AD632F
analogous
#2FADA2 #2F79AD #2F3AAD
triadic
#2F79AD #AD2F79 #79AD2F
tetradic
#2F79AD #A22FAD #AD632F #3AAD2F
square
#2F79AD #A22FAD #AD632F #3AAD2F
split-complementary
#2F79AD #AD2F3A #ADA22F
monochromatic
#15364D #22577D #2F79AD #4B98CE #7BB4DB

Accessibility & contrast

On white

4.71
#2F79AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F79AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F79AD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79AD#FFFFFF#000000##FFFFFF
##2F79AD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAF
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f79ad;
/* rgb */ color: rgb(47, 121, 173);
/* oklch */ color: oklch(55.4% 0.109 243.0);
Tailwind
colors: {
  custom: {
    50: '#789fc5',
    500: '#2f79ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f79ad;
$custom-light: #789fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79ad",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 173
  },
  "hsl": {
    "h": 204.762,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.10856,
    "h": 243
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F79AD

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

Preview Lab → · Contrast checker → · Palette generator →

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