#2F79B1#2F79B1

#2F79B1 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.113 H 244.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F79B1
RGBrgb(47, 121, 177)
HSLhsl(206, 58%, 44%)
HSVhsv(206, 73%, 69%)
CMYKcmyk(73.4%, 31.6%, 0%, 30.6%)
CIE-LABlab(48.82, -3.67, -36.23)
CIE-LCHlch(48.82, 36.41, 264.22°)
OKLaboklab(55.65% -0.048 -0.1026)
OKLCHoklch(55.65% 0.113 244.9)
XYZxyz(15.9424, 17.4516, 44.1147)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79B1 #B1672F
analogous
#2FB1A8 #2F79B1 #2F38B1
triadic
#2F79B1 #B12F79 #79B12F
tetradic
#2F79B1 #A82FB1 #B1672F #38B12F
square
#2F79B1 #A82FB1 #B1672F #38B12F
split-complementary
#2F79B1 #B12F38 #B1A82F
monochromatic
#153750 #225881 #2F79B1 #4D98D0 #7EB4DD

Accessibility & contrast

On white

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

On black

4.49
#2F79B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F79B1#FFFFFF#000000##FFFFFF
##2F79B11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB3
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f79b1;
/* rgb */ color: rgb(47, 121, 177);
/* oklch */ color: oklch(55.7% 0.113 244.9);
Tailwind
colors: {
  custom: {
    50: '#799fc8',
    500: '#2f79b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f79b1;
$custom-light: #799fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79b1",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 205.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.11329,
    "h": 244.9
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F79B1

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

Preview Lab → · Contrast checker → · Palette generator →

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