#2B79B5#2B79B5

#2B79B5 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.120 H 245.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2B79B5
RGBrgb(43, 121, 181)
HSLhsl(206, 62%, 44%)
HSVhsv(206, 76%, 71%)
CMYKcmyk(76.2%, 33.1%, 0%, 29%)
CIE-LABlab(48.91, -2.74, -38.41)
CIE-LCHlch(48.91, 38.51, 265.93°)
OKLaboklab(55.76% -0.049 -0.109)
OKLCHoklch(55.76% 0.12 245.8)
XYZxyz(16.1709, 17.5226, 46.2370)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79B5 #B5672B
analogous
#2BB5AC #2B79B5 #2B34B5
triadic
#2B79B5 #B52B79 #79B52B
tetradic
#2B79B5 #AC2BB5 #B5672B #34B52B
square
#2B79B5 #AC2BB5 #B5672B #34B52B
split-complementary
#2B79B5 #B52B34 #B5AC2B
monochromatic
#143752 #1F5884 #2B79B5 #4998D4 #7BB4E0

Accessibility & contrast

On white

4.66
#2B79B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2B79B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79B5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79B5#FFFFFF#000000##FFFFFF
##2B79B51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB8
Deuteranopia (green-blind)
#4A6EB4
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b79b5;
/* rgb */ color: rgb(43, 121, 181);
/* oklch */ color: oklch(55.8% 0.120 245.8);
Tailwind
colors: {
  custom: {
    50: '#789fcb',
    500: '#2b79b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b79b5;
$custom-light: #789fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79b5",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 181
  },
  "hsl": {
    "h": 206.087,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.11955,
    "h": 245.8
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#2B79B5
secondary
#C89874
accent
#8943E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B79B5

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

Preview Lab → · Contrast checker → · Palette generator →

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