#2A7E98#2A7E98

#2A7E98 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.5% C 0.088 H 222.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7E98
RGBrgb(42, 126, 152)
HSLhsl(194, 57%, 38%)
HSVhsv(194, 72%, 60%)
CMYKcmyk(72.4%, 17.1%, 0%, 40.4%)
CIE-LABlab(49.10, -16.06, -21.23)
CIE-LCHlch(49.10, 26.62, 232.90°)
OKLaboklab(55.47% -0.0646 -0.0594)
OKLCHoklch(55.47% 0.088 222.6)
XYZxyz(14.0809, 17.6793, 32.3700)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E98 #98442A
analogous
#2A987B #2A7E98 #2A4798
triadic
#2A7E98 #982A7E #7E982A
tetradic
#2A7E98 #7B2A98 #98442A #47982A
square
#2A7E98 #7B2A98 #98442A #47982A
split-complementary
#2A7E98 #982A47 #987B2A
monochromatic
#102F38 #1D5668 #2A7E98 #37A6C8 #67BBD5

Accessibility & contrast

On white

4.63
#2A7E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A7E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E98
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E98#FFFFFF#000000##FFFFFF
##2A7E981.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B99
Deuteranopia (green-blind)
#607098
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7e98;
/* rgb */ color: rgb(42, 126, 152);
/* oklch */ color: oklch(55.5% 0.088 222.6);
Tailwind
colors: {
  custom: {
    50: '#73a3b6',
    500: '#2a7e98',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e98;
$custom-light: #73a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e98",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 194.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55468,
    "c": 0.08775,
    "h": 222.6
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#2A7E98
secondary
#BB7762
accent
#6C48E0
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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