#2B79B3#2B79B3

#2B79B3 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.117 H 245.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B79B3
RGBrgb(43, 121, 179)
HSLhsl(206, 61%, 44%)
HSVhsv(206, 76%, 70%)
CMYKcmyk(76%, 32.4%, 0%, 29.8%)
CIE-LABlab(48.81, -3.47, -37.41)
CIE-LCHlch(48.81, 37.57, 264.70°)
OKLaboklab(55.64% -0.0496 -0.1061)
OKLCHoklch(55.64% 0.117 245)
XYZxyz(15.9672, 17.4411, 45.1640)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79B3 #B3652B
analogous
#2BB3A9 #2B79B3 #2B35B3
triadic
#2B79B3 #B32B79 #79B32B
tetradic
#2B79B3 #A92BB3 #B3652B #35B32B
square
#2B79B3 #A92BB3 #B3652B #35B32B
split-complementary
#2B79B3 #B32B35 #B3A92B
monochromatic
#133650 #1F5882 #2B79B3 #4898D3 #79B4DF

Accessibility & contrast

On white

4.68
#2B79B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2B79B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79B3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79B3#FFFFFF#000000##FFFFFF
##2B79B31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b79b3;
/* rgb */ color: rgb(43, 121, 179);
/* oklch */ color: oklch(55.6% 0.117 245.0);
Tailwind
colors: {
  custom: {
    50: '#789fca',
    500: '#2b79b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b79b3;
$custom-light: #789fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79b3",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 205.588,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.11714,
    "h": 245
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#2B79B3
secondary
#C79773
accent
#8843E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B79B3

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

Preview Lab → · Contrast checker → · Palette generator →

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