#2B799D#2B799D

#2B799D is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.093 H 232.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B799D
RGBrgb(43, 121, 157)
HSLhsl(199, 57%, 39%)
HSVhsv(199, 73%, 62%)
CMYKcmyk(72.6%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.78, -11.37, -26.21)
CIE-LCHlch(47.78, 28.57, 246.54°)
OKLaboklab(54.48% -0.057 -0.0736)
OKLCHoklch(54.48% 0.093 232.3)
XYZxyz(13.9170, 16.6211, 34.3665)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B799D #9D4F2B
analogous
#2B9D88 #2B799D #2B409D
triadic
#2B799D #9D2B79 #799D2B
tetradic
#2B799D #882B9D #9D4F2B #409D2B
square
#2B799D #882B9D #9D4F2B #409D2B
split-complementary
#2B799D #9D2B40 #9D882B
monochromatic
#112F3D #1E546D #2B799D #3C9DCA #6CB5D7

Accessibility & contrast

On white

4.86
#2B799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B799D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B799D#FFFFFF#000000##FFFFFF
##2B799D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67789F
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b799d;
/* rgb */ color: rgb(43, 121, 157);
/* oklch */ color: oklch(54.5% 0.093 232.3);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2b799d',
    950: '#000000',
  },
}
SCSS
$custom: #2b799d;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b799d",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 198.947,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.0931,
    "h": 232.3
  },
  "luminance": 0.16623
}

Semantic roles & 50–950 ramp

primary
#2B799D
secondary
#BD8266
accent
#7848E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B799D

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

Preview Lab → · Contrast checker → · Palette generator →

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