#2B79B1#2B79B1

#2B79B1 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.115 H 244.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B79B1
RGBrgb(43, 121, 177)
HSLhsl(205, 61%, 43%)
HSVhsv(205, 76%, 69%)
CMYKcmyk(75.7%, 31.6%, 0%, 30.6%)
CIE-LABlab(48.71, -4.20, -36.41)
CIE-LCHlch(48.71, 36.65, 263.42°)
OKLaboklab(55.53% -0.0502 -0.1032)
OKLCHoklch(55.53% 0.115 244.1)
XYZxyz(15.7664, 17.3608, 44.1065)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79B1 #B1632B
analogous
#2BB1A6 #2B79B1 #2B36B1
triadic
#2B79B1 #B12B79 #79B12B
tetradic
#2B79B1 #A62BB1 #B1632B #36B12B
square
#2B79B1 #A62BB1 #B1632B #36B12B
split-complementary
#2B79B1 #B12B36 #B1A62B
monochromatic
#13364F #1F5780 #2B79B1 #4798D2 #78B4DE

Accessibility & contrast

On white

4.70
#2B79B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2B79B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79B1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79B1#FFFFFF#000000##FFFFFF
##2B79B11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB3
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b79b1;
/* rgb */ color: rgb(43, 121, 177);
/* oklch */ color: oklch(55.5% 0.115 244.1);
Tailwind
colors: {
  custom: {
    50: '#779fc8',
    500: '#2b79b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b79b1;
$custom-light: #779fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79b1",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 205.075,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.11477,
    "h": 244.1
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#2B79B1
secondary
#C69572
accent
#8744E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B79B1

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

Preview Lab → · Contrast checker → · Palette generator →

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