#2F79A1#2F79A1

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

Color values

HEX#2F79A1
RGBrgb(47, 121, 161)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 63%)
CMYKcmyk(70.8%, 24.8%, 0%, 36.9%)
CIE-LABlab(48.07, -9.37, -28.09)
CIE-LCHlch(48.07, 29.61, 251.55°)
OKLaboklab(54.81% -0.0532 -0.079)
OKLCHoklch(54.81% 0.095 236)
XYZxyz(14.4402, 16.8507, 36.2028)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79A1 #A1572F
analogous
#2FA190 #2F79A1 #2F40A1
triadic
#2F79A1 #A12F79 #79A12F
tetradic
#2F79A1 #902FA1 #A1572F #40A12F
square
#2F79A1 #902FA1 #A1572F #40A12F
split-complementary
#2F79A1 #A12F40 #A1902F
monochromatic
#133242 #215572 #2F79A1 #459AC9 #74B4D6

Accessibility & contrast

On white

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

On black

4.37
#2F79A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F79A1#FFFFFF#000000##FFFFFF
##2F79A11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A3
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f79a1;
/* rgb */ color: rgb(47, 121, 161);
/* oklch */ color: oklch(54.8% 0.095 236.0);
Tailwind
colors: {
  custom: {
    50: '#769fbd',
    500: '#2f79a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f79a1;
$custom-light: #769fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79a1",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 161
  },
  "hsl": {
    "h": 201.053,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.09529,
    "h": 236
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#2F79A1
secondary
#BE8A6E
accent
#7E4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F79A1

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

Preview Lab → · Contrast checker → · Palette generator →

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