#2F79C8#2F79C8

#2F79C8 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.142 H 252.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F79C8
RGBrgb(47, 121, 200)
HSLhsl(211, 62%, 48%)
HSVhsv(211, 77%, 78%)
CMYKcmyk(76.5%, 39.5%, 0%, 21.6%)
CIE-LABlab(50.03, 4.78, -47.55)
CIE-LCHlch(50.03, 47.79, 275.74°)
OKLaboklab(57% -0.0418 -0.1357)
OKLCHoklch(57% 0.142 252.9)
XYZxyz(18.4311, 18.4471, 57.2216)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79C8 #C87E2F
analogous
#2FC5C8 #2F79C8 #312FC8
triadic
#2F79C8 #C82F79 #79C82F
tetradic
#2F79C8 #C82FC5 #C87E2F #2FC831
square
#2F79C8 #C82FC5 #C87E2F #2FC831
split-complementary
#2F79C8 #C8312F #C5C82F
monochromatic
#183D65 #235B96 #2F79C8 #5C98D9 #8DB7E4

Accessibility & contrast

On white

4.48
#2F79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2F79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F79C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79C8#FFFFFF#000000##000000
##2F79C81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#3B71C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f79c8;
/* rgb */ color: rgb(47, 121, 200);
/* oklch */ color: oklch(57.0% 0.142 252.9);
Tailwind
colors: {
  custom: {
    50: '#7d9fd9',
    500: '#2f79c8',
    950: '#000000',
  },
}
SCSS
$custom: #2f79c8;
$custom-light: #7d9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79c8",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 210.98,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.14203,
    "h": 252.9
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#2F79C8
secondary
#CFAB84
accent
#9743E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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