#2F79A2#2F79A2

#2F79A2 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.096 H 236.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F79A2
RGBrgb(47, 121, 162)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 64%)
CMYKcmyk(71%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.12, -9.02, -28.60)
CIE-LCHlch(48.12, 29.99, 252.49°)
OKLaboklab(54.86% -0.0529 -0.0805)
OKLCHoklch(54.86% 0.096 236.7)
XYZxyz(14.5287, 16.8861, 36.6691)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79A2 #A2582F
analogous
#2FA291 #2F79A2 #2F3FA2
triadic
#2F79A2 #A22F79 #79A22F
tetradic
#2F79A2 #912FA2 #A2582F #3FA22F
square
#2F79A2 #912FA2 #A2582F #3FA22F
split-complementary
#2F79A2 #A22F3F #A2912F
monochromatic
#133243 #215673 #2F79A2 #459AC9 #75B4D7

Accessibility & contrast

On white

4.80
#2F79A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F79A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F79A2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79A2#FFFFFF#000000##FFFFFF
##2F79A21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f79a2;
/* rgb */ color: rgb(47, 121, 162);
/* oklch */ color: oklch(54.9% 0.096 236.7);
Tailwind
colors: {
  custom: {
    50: '#769fbd',
    500: '#2f79a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f79a2;
$custom-light: #769fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79a2",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 201.391,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.09633,
    "h": 236.7
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#2F79A2
secondary
#BF8B6E
accent
#7F49DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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