#2F79A3#2F79A3

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

Color values

HEX#2F79A3
RGBrgb(47, 121, 163)
HSLhsl(202, 55%, 41%)
HSVhsv(202, 71%, 64%)
CMYKcmyk(71.2%, 25.8%, 0%, 36.1%)
CIE-LABlab(48.16, -8.67, -29.12)
CIE-LCHlch(48.16, 30.38, 253.42°)
OKLaboklab(54.91% -0.0525 -0.082)
OKLCHoklch(54.91% 0.097 237.4)
XYZxyz(14.6179, 16.9218, 37.1391)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79A3 #A3592F
analogous
#2FA393 #2F79A3 #2F3FA3
triadic
#2F79A3 #A32F79 #79A32F
tetradic
#2F79A3 #932FA3 #A3592F #3FA32F
square
#2F79A3 #932FA3 #A3592F #3FA32F
split-complementary
#2F79A3 #A32F3F #A3932F
monochromatic
#143244 #215673 #2F79A3 #469ACA #75B4D7

Accessibility & contrast

On white

4.79
#2F79A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F79A3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79A3#FFFFFF#000000##FFFFFF
##2F79A31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A5
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f79a3;
/* rgb */ color: rgb(47, 121, 163);
/* oklch */ color: oklch(54.9% 0.097 237.4);
Tailwind
colors: {
  custom: {
    50: '#769fbe',
    500: '#2f79a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f79a3;
$custom-light: #769fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79a3",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 163
  },
  "hsl": {
    "h": 201.724,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.09739,
    "h": 237.4
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#2F79A3
secondary
#BF8C6F
accent
#7F49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F79A3

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

Preview Lab → · Contrast checker → · Palette generator →

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