#2B79A4#2B79A4

#2B79A4 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.8% C 0.100 H 237.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B79A4
RGBrgb(43, 121, 164)
HSLhsl(201, 58%, 41%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(73.8%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.09, -8.90, -29.82)
CIE-LCHlch(48.09, 31.12, 253.38°)
OKLaboklab(54.84% -0.0544 -0.0841)
OKLCHoklch(54.84% 0.1 237.1)
XYZxyz(14.5318, 16.8670, 37.6045)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A4 #A4562B
analogous
#2BA492 #2B79A4 #2B3DA4
triadic
#2B79A4 #A42B79 #79A42B
tetradic
#2B79A4 #922BA4 #A4562B #3DA42B
square
#2B79A4 #922BA4 #A4562B #3DA42B
split-complementary
#2B79A4 #A42B3D #A4922B
monochromatic
#123143 #1E5574 #2B79A4 #3F9BCD #70B4D9

Accessibility & contrast

On white

4.80
#2B79A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2B79A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79A4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79A4#FFFFFF#000000##FFFFFF
##2B79A41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b79a4;
/* rgb */ color: rgb(43, 121, 164);
/* oklch */ color: oklch(54.8% 0.100 237.1);
Tailwind
colors: {
  custom: {
    50: '#759fbf',
    500: '#2b79a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a4;
$custom-light: #759fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a4",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 201.322,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.10015,
    "h": 237.1
  },
  "luminance": 0.16869
}

Semantic roles & 50–950 ramp

primary
#2B79A4
secondary
#C1896A
accent
#7D46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B79A4

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

Preview Lab → · Contrast checker → · Palette generator →

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