#2B79A2#2B79A2

#2B79A2 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.098 H 235.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B79A2
RGBrgb(43, 121, 162)
HSLhsl(201, 58%, 40%)
HSVhsv(201, 73%, 64%)
CMYKcmyk(73.5%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.00, -9.61, -28.79)
CIE-LCHlch(48.00, 30.35, 251.54°)
OKLaboklab(54.74% -0.0551 -0.0811)
OKLCHoklch(54.74% 0.098 235.8)
XYZxyz(14.3526, 16.7953, 36.6608)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A2 #A2542B
analogous
#2BA28F #2B79A2 #2B3EA2
triadic
#2B79A2 #A22B79 #79A22B
tetradic
#2B79A2 #8F2BA2 #A2542B #3EA22B
square
#2B79A2 #8F2BA2 #A2542B #3EA22B
split-complementary
#2B79A2 #A22B3E #A28F2B
monochromatic
#113141 #1E5572 #2B79A2 #3E9BCC #6FB4D9

Accessibility & contrast

On white

4.82
#2B79A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2B79A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79A2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79A2#FFFFFF#000000##FFFFFF
##2B79A21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b79a2;
/* rgb */ color: rgb(43, 121, 162);
/* oklch */ color: oklch(54.7% 0.098 235.8);
Tailwind
colors: {
  custom: {
    50: '#759fbd',
    500: '#2b79a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a2;
$custom-light: #759fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a2",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 200.672,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.09807,
    "h": 235.8
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#2B79A2
secondary
#C08769
accent
#7C47E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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