#2A7B99#2A7B99

#2A7B99 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.089 H 226.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A7B99
RGBrgb(42, 123, 153)
HSLhsl(196, 57%, 38%)
HSVhsv(196, 73%, 60%)
CMYKcmyk(72.5%, 19.6%, 0%, 40%)
CIE-LABlab(48.21, -14.05, -23.20)
CIE-LCHlch(48.21, 27.12, 238.81°)
OKLaboklab(54.76% -0.0611 -0.065)
OKLCHoklch(54.76% 0.089 226.8)
XYZxyz(13.7852, 16.9565, 32.6772)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B99 #99482A
analogous
#2A997F #2A7B99 #2A4399
triadic
#2A7B99 #992A7B #7B992A
tetradic
#2A7B99 #7F2A99 #99482A #43992A
square
#2A7B99 #7F2A99 #99482A #43992A
split-complementary
#2A7B99 #992A43 #997F2A
monochromatic
#102E39 #1D5469 #2A7B99 #38A1C8 #68B8D6

Accessibility & contrast

On white

4.78
#2A7B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A7B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B99
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B99#FFFFFF#000000##FFFFFF
##2A7B991.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B799B
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7b99;
/* rgb */ color: rgb(42, 123, 153);
/* oklch */ color: oklch(54.8% 0.089 226.8);
Tailwind
colors: {
  custom: {
    50: '#73a1b7',
    500: '#2a7b99',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b99;
$custom-light: #73a1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b99",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 153
  },
  "hsl": {
    "h": 196.216,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.08921,
    "h": 226.8
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#2A7B99
secondary
#BC7B63
accent
#7148E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7B99

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

Preview Lab → · Contrast checker → · Palette generator →

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