#2A7B9E#2A7B9E

#2A7B9E is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.0% C 0.094 H 230.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A7B9E
RGBrgb(42, 123, 158)
HSLhsl(198, 58%, 39%)
HSVhsv(198, 73%, 62%)
CMYKcmyk(73.4%, 22.2%, 0%, 38%)
CIE-LABlab(48.42, -12.31, -25.81)
CIE-LCHlch(48.42, 28.59, 244.50°)
OKLaboklab(55% -0.0592 -0.0725)
OKLCHoklch(55% 0.094 230.8)
XYZxyz(14.2069, 17.1251, 34.8979)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B9E #9E4D2A
analogous
#2A9E87 #2A7B9E #2A419E
triadic
#2A7B9E #9E2A7B #7B9E2A
tetradic
#2A7B9E #872A9E #9E4D2A #419E2A
square
#2A7B9E #872A9E #9E4D2A #419E2A
split-complementary
#2A7B9E #9E2A41 #9E872A
monochromatic
#10303D #1D556E #2A7B9E #3A9FCB #6BB7D8

Accessibility & contrast

On white

4.75
#2A7B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2A7B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B9E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B9E#FFFFFF#000000##FFFFFF
##2A7B9E1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6979A0
Deuteranopia (green-blind)
#596E9D
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7b9e;
/* rgb */ color: rgb(42, 123, 158);
/* oklch */ color: oklch(55.0% 0.094 230.8);
Tailwind
colors: {
  custom: {
    50: '#74a1ba',
    500: '#2a7b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b9e;
$custom-light: #74a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b9e",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 158
  },
  "hsl": {
    "h": 198.103,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.09357,
    "h": 230.8
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#2A7B9E
secondary
#BE8066
accent
#7547E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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