#2B7A9D#2B7A9D

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

Color values

HEX#2B7A9D
RGBrgb(43, 122, 157)
HSLhsl(198, 57%, 39%)
HSVhsv(198, 73%, 62%)
CMYKcmyk(72.6%, 22.3%, 0%, 38.4%)
CIE-LABlab(48.09, -11.95, -25.73)
CIE-LCHlch(48.09, 28.36, 245.09°)
OKLaboklab(54.73% -0.058 -0.0722)
OKLCHoklch(54.73% 0.093 231.2)
XYZxyz(14.0392, 16.8654, 34.4072)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A9D #9D4E2B
analogous
#2B9D87 #2B7A9D #2B419D
triadic
#2B7A9D #9D2B7A #7A9D2B
tetradic
#2B7A9D #872B9D #9D4E2B #419D2B
square
#2B7A9D #872B9D #9D4E2B #419D2B
split-complementary
#2B7A9D #9D2B41 #9D872B
monochromatic
#112F3D #1E556D #2B7A9D #3C9ECA #6CB6D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7A9D#FFFFFF#000000##FFFFFF
##2B7A9D1.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)
#68789F
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b7a9d;
/* rgb */ color: rgb(43, 122, 157);
/* oklch */ color: oklch(54.7% 0.093 231.2);
Tailwind
colors: {
  custom: {
    50: '#74a0ba',
    500: '#2b7a9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a9d;
$custom-light: #74a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a9d",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 157
  },
  "hsl": {
    "h": 198.421,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.09264,
    "h": 231.2
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#2B7A9D
secondary
#BD8166
accent
#7648E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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