#2F79A0#2F79A0

#2F79A0 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.094 H 235.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F79A0
RGBrgb(47, 121, 160)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 63%)
CMYKcmyk(70.6%, 24.4%, 0%, 37.3%)
CIE-LABlab(48.03, -9.72, -27.57)
CIE-LCHlch(48.03, 29.24, 250.58°)
OKLaboklab(54.76% -0.0536 -0.0775)
OKLCHoklch(54.76% 0.094 235.3)
XYZxyz(14.3523, 16.8156, 35.7402)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79A0 #A0562F
analogous
#2FA08E #2F79A0 #2F40A0
triadic
#2F79A0 #A02F79 #79A02F
tetradic
#2F79A0 #8E2FA0 #A0562F #40A02F
square
#2F79A0 #8E2FA0 #A0562F #40A02F
split-complementary
#2F79A0 #A02F40 #A08E2F
monochromatic
#133141 #215571 #2F79A0 #449BC8 #73B4D6

Accessibility & contrast

On white

4.81
#2F79A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2F79A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F79A0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79A0#FFFFFF#000000##FFFFFF
##2F79A01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A2
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f79a0;
/* rgb */ color: rgb(47, 121, 160);
/* oklch */ color: oklch(54.8% 0.094 235.3);
Tailwind
colors: {
  custom: {
    50: '#769fbc',
    500: '#2f79a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f79a0;
$custom-light: #769fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79a0",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 160
  },
  "hsl": {
    "h": 200.708,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.09425,
    "h": 235.3
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#2F79A0
secondary
#BE896D
accent
#7D4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F79A0

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

Preview Lab → · Contrast checker → · Palette generator →

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