#2B79C7#2B79C7

#2B79C7 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.8% C 0.142 H 251.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2B79C7
RGBrgb(43, 121, 199)
HSLhsl(210, 64%, 47%)
HSVhsv(210, 78%, 78%)
CMYKcmyk(78.4%, 39.2%, 0%, 22%)
CIE-LABlab(49.87, 3.95, -47.24)
CIE-LCHlch(49.87, 47.41, 274.77°)
OKLaboklab(56.82% -0.0442 -0.1349)
OKLCHoklch(56.82% 0.142 251.9)
XYZxyz(18.1385, 18.3097, 56.5999)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79C7 #C7792B
analogous
#2BC7C7 #2B79C7 #2B2BC7
triadic
#2B79C7 #C72B79 #79C72B
tetradic
#2B79C7 #C72BC7 #C7792B #2BC72B
square
#2B79C7 #C72BC7 #C7792B #2BC72B
split-complementary
#2B79C7 #C72B2B #C7C72B
monochromatic
#153C62 #205A95 #2B79C7 #5598DA #87B6E5

Accessibility & contrast

On white

4.50
#2B79C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2B79C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B79C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79C7#FFFFFF#000000##000000
##2B79C71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ECA
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b79c7;
/* rgb */ color: rgb(43, 121, 199);
/* oklch */ color: oklch(56.8% 0.142 251.9);
Tailwind
colors: {
  custom: {
    50: '#7c9fd8',
    500: '#2b79c7',
    950: '#000000',
  },
}
SCSS
$custom: #2b79c7;
$custom-light: #7c9fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79c7",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 210,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.14195,
    "h": 251.9
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#2B79C7
secondary
#CFA77F
accent
#9440E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2B79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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