#2F79B0#2F79B0

#2F79B0 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.112 H 244.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F79B0
RGBrgb(47, 121, 176)
HSLhsl(206, 58%, 44%)
HSVhsv(206, 73%, 69%)
CMYKcmyk(73.3%, 31.3%, 0%, 31%)
CIE-LABlab(48.77, -4.03, -35.72)
CIE-LCHlch(48.77, 35.95, 263.56°)
OKLaboklab(55.6% -0.0483 -0.1012)
OKLCHoklch(55.6% 0.112 244.5)
XYZxyz(15.8431, 17.4119, 43.5917)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79B0 #B0662F
analogous
#2FB0A6 #2F79B0 #2F38B0
triadic
#2F79B0 #B02F79 #79B02F
tetradic
#2F79B0 #A62FB0 #B0662F #38B02F
square
#2F79B0 #A62FB0 #B0662F #38B02F
split-complementary
#2F79B0 #B02F38 #B0A62F
monochromatic
#15374F #225880 #2F79B0 #4D98CF #7DB4DC

Accessibility & contrast

On white

4.68
#2F79B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2F79B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F79B0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79B0#FFFFFF#000000##FFFFFF
##2F79B01.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607BB2
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f79b0;
/* rgb */ color: rgb(47, 121, 176);
/* oklch */ color: oklch(55.6% 0.112 244.5);
Tailwind
colors: {
  custom: {
    50: '#789fc8',
    500: '#2f79b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f79b0;
$custom-light: #789fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79b0",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 176
  },
  "hsl": {
    "h": 205.581,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.1121,
    "h": 244.5
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#2F79B0
secondary
#C59876
accent
#8947E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F79B0

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

Preview Lab → · Contrast checker → · Palette generator →

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