#2A7D98#2A7D98

#2A7D98 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.2% C 0.088 H 223.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7D98
RGBrgb(42, 125, 152)
HSLhsl(195, 57%, 38%)
HSVhsv(195, 72%, 60%)
CMYKcmyk(72.4%, 17.8%, 0%, 40.4%)
CIE-LABlab(48.79, -15.51, -21.72)
CIE-LCHlch(48.79, 26.68, 234.47°)
OKLaboklab(55.22% -0.0636 -0.0607)
OKLCHoklch(55.22% 0.088 223.7)
XYZxyz(13.9536, 17.4249, 32.3276)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D98 #98452A
analogous
#2A987C #2A7D98 #2A4698
triadic
#2A7D98 #982A7D #7D982A
tetradic
#2A7D98 #7C2A98 #98452A #46982A
square
#2A7D98 #7C2A98 #98452A #46982A
split-complementary
#2A7D98 #982A46 #987C2A
monochromatic
#102E38 #1D5668 #2A7D98 #37A4C8 #67BAD5

Accessibility & contrast

On white

4.68
#2A7D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2A7D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D98
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D98#FFFFFF#000000##FFFFFF
##2A7D981.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A99
Deuteranopia (green-blind)
#5F6F98
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7d98;
/* rgb */ color: rgb(42, 125, 152);
/* oklch */ color: oklch(55.2% 0.088 223.7);
Tailwind
colors: {
  custom: {
    50: '#73a2b6',
    500: '#2a7d98',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d98;
$custom-light: #73a2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d98",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 152
  },
  "hsl": {
    "h": 194.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.08793,
    "h": 223.7
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#2A7D98
secondary
#BB7862
accent
#6D48E0
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7D98

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

Preview Lab → · Contrast checker → · Palette generator →

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