#2B799E#2B799E

#2B799E is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.094 H 233.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2B799E
RGBrgb(43, 121, 158)
HSLhsl(199, 57%, 39%)
HSVhsv(199, 73%, 62%)
CMYKcmyk(72.8%, 23.4%, 0%, 38%)
CIE-LABlab(47.82, -11.02, -26.73)
CIE-LCHlch(47.82, 28.91, 247.59°)
OKLaboklab(54.54% -0.0566 -0.0751)
OKLCHoklch(54.54% 0.094 233)
XYZxyz(14.0027, 16.6554, 34.8179)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B799E #9E502B
analogous
#2B9E8A #2B799E #2B409E
triadic
#2B799E #9E2B79 #799E2B
tetradic
#2B799E #8A2B9E #9E502B #409E2B
square
#2B799E #8A2B9E #9E502B #409E2B
split-complementary
#2B799E #9E2B40 #9E8A2B
monochromatic
#112F3E #1E546E #2B799E #3C9CCA #6CB5D7

Accessibility & contrast

On white

4.85
#2B799E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2B799E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B799E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B799E#FFFFFF#000000##FFFFFF
##2B799E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A0
Deuteranopia (green-blind)
#576D9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b799e;
/* rgb */ color: rgb(43, 121, 158);
/* oklch */ color: oklch(54.5% 0.094 233.0);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2b799e',
    950: '#000000',
  },
}
SCSS
$custom: #2b799e;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b799e",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 199.304,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.09406,
    "h": 233
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#2B799E
secondary
#BE8367
accent
#7947E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B799E

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

Preview Lab → · Contrast checker → · Palette generator →

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