#2F79BC#2F79BC

#2F79BC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.3% C 0.127 H 249.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2F79BC
RGBrgb(47, 121, 188)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 74%)
CMYKcmyk(75%, 35.6%, 0%, 26.3%)
CIE-LABlab(49.38, 0.34, -41.70)
CIE-LCHlch(49.38, 41.70, 270.47°)
OKLaboklab(56.28% -0.0448 -0.1186)
OKLCHoklch(56.28% 0.127 249.3)
XYZxyz(17.0833, 17.9080, 50.1234)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F79BC #BC722F
analogous
#2FBCB8 #2F79BC #2F32BC
triadic
#2F79BC #BC2F79 #79BC2F
tetradic
#2F79BC #B82FBC #BC722F #32BC2F
square
#2F79BC #B82FBC #BC722F #32BC2F
split-complementary
#2F79BC #BC2F32 #BCB82F
monochromatic
#173A5A #23598B #2F79BC #5497D4 #85B5E0

Accessibility & contrast

On white

4.58
#2F79BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F79BC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F79BC#FFFFFF#000000##000000
##2F79BC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f79bc;
/* rgb */ color: rgb(47, 121, 188);
/* oklch */ color: oklch(56.3% 0.127 249.3);
Tailwind
colors: {
  custom: {
    50: '#7b9fd0',
    500: '#2f79bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f79bc;
$custom-light: #7b9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f79bc",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 208.511,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.12679,
    "h": 249.3
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#2F79BC
secondary
#CAA17D
accent
#9045E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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