#2A7B96#2A7B96

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

Color values

HEX#2A7B96
RGBrgb(42, 123, 150)
HSLhsl(195, 56%, 38%)
HSVhsv(195, 72%, 59%)
CMYKcmyk(72%, 18%, 0%, 41.2%)
CIE-LABlab(48.08, -15.07, -21.63)
CIE-LCHlch(48.08, 26.37, 235.13°)
OKLaboklab(54.62% -0.0623 -0.0605)
OKLCHoklch(54.62% 0.087 224.2)
XYZxyz(13.5406, 16.8586, 31.3887)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B96 #96452A
analogous
#2A967B #2A7B96 #2A4596
triadic
#2A7B96 #962A7B #7B962A
tetradic
#2A7B96 #7B2A96 #96452A #45962A
square
#2A7B96 #7B2A96 #96452A #45962A
split-complementary
#2A7B96 #962A45 #967B2A
monochromatic
#0F2D36 #1D5466 #2A7B96 #37A2C6 #66B9D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7B96#FFFFFF#000000##FFFFFF
##2A7B961.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)
#6C7897
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7b96;
/* rgb */ color: rgb(42, 123, 150);
/* oklch */ color: oklch(54.6% 0.087 224.2);
Tailwind
colors: {
  custom: {
    50: '#73a1b5',
    500: '#2a7b96',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b96;
$custom-light: #73a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b96",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 150
  },
  "hsl": {
    "h": 195,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.08683,
    "h": 224.2
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#2A7B96
secondary
#BA7861
accent
#6E48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7B96

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

Preview Lab → · Contrast checker → · Palette generator →

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