#2B79A5#2B79A5

#2B79A5 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.101 H 237.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B79A5
RGBrgb(43, 121, 165)
HSLhsl(202, 59%, 41%)
HSVhsv(202, 74%, 65%)
CMYKcmyk(73.9%, 26.7%, 0%, 35.3%)
CIE-LABlab(48.14, -8.54, -30.33)
CIE-LCHlch(48.14, 31.51, 254.27°)
OKLaboklab(54.89% -0.0541 -0.0855)
OKLCHoklch(54.89% 0.101 237.7)
XYZxyz(14.6225, 16.9033, 38.0820)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A5 #A5572B
analogous
#2BA594 #2B79A5 #2B3CA5
triadic
#2B79A5 #A52B79 #79A52B
tetradic
#2B79A5 #942BA5 #A5572B #3CA52B
square
#2B79A5 #942BA5 #A5572B #3CA52B
split-complementary
#2B79A5 #A52B3C #A5942B
monochromatic
#123244 #1E5574 #2B79A5 #409ACD #71B4DA

Accessibility & contrast

On white

4.79
#2B79A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2B79A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79A5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79A5#FFFFFF#000000##FFFFFF
##2B79A51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A7
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b79a5;
/* rgb */ color: rgb(43, 121, 165);
/* oklch */ color: oklch(54.9% 0.101 237.7);
Tailwind
colors: {
  custom: {
    50: '#759fc0',
    500: '#2b79a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a5;
$custom-light: #759fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a5",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 165
  },
  "hsl": {
    "h": 201.639,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.10122,
    "h": 237.7
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#2B79A5
secondary
#C18A6B
accent
#7E46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B79A5

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

Preview Lab → · Contrast checker → · Palette generator →

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