#2B79B4#2B79B4

#2B79B4 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.118 H 245.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B79B4
RGBrgb(43, 121, 180)
HSLhsl(206, 61%, 44%)
HSVhsv(206, 76%, 71%)
CMYKcmyk(76.1%, 32.8%, 0%, 29.4%)
CIE-LABlab(48.86, -3.10, -37.91)
CIE-LCHlch(48.86, 38.04, 265.32°)
OKLaboklab(55.7% -0.0493 -0.1076)
OKLCHoklch(55.7% 0.118 245.4)
XYZxyz(16.0687, 17.4817, 45.6986)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79B4 #B4662B
analogous
#2BB4AA #2B79B4 #2B35B4
triadic
#2B79B4 #B42B79 #79B42B
tetradic
#2B79B4 #AA2BB4 #B4662B #35B42B
square
#2B79B4 #AA2BB4 #B4662B #35B42B
split-complementary
#2B79B4 #B42B35 #B4AA2B
monochromatic
#133751 #1F5883 #2B79B4 #4998D3 #7AB4DF

Accessibility & contrast

On white

4.67
#2B79B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2B79B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79B4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79B4#FFFFFF#000000##FFFFFF
##2B79B41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB7
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b79b4;
/* rgb */ color: rgb(43, 121, 180);
/* oklch */ color: oklch(55.7% 0.118 245.4);
Tailwind
colors: {
  custom: {
    50: '#789fcb',
    500: '#2b79b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b79b4;
$custom-light: #789fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79b4",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 205.839,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.557,
    "c": 0.11835,
    "h": 245.4
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B79B4

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

Preview Lab → · Contrast checker → · Palette generator →

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