#2A7B98#2A7B98

#2A7B98 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.7% C 0.088 H 225.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A7B98
RGBrgb(42, 123, 152)
HSLhsl(196, 57%, 38%)
HSVhsv(196, 72%, 60%)
CMYKcmyk(72.4%, 19.1%, 0%, 40.4%)
CIE-LABlab(48.16, -14.39, -22.68)
CIE-LCHlch(48.16, 26.86, 237.61°)
OKLaboklab(54.72% -0.0615 -0.0635)
OKLCHoklch(54.72% 0.088 225.9)
XYZxyz(13.7030, 16.9236, 32.2441)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B98 #98472A
analogous
#2A987E #2A7B98 #2A4498
triadic
#2A7B98 #982A7B #7B982A
tetradic
#2A7B98 #7E2A98 #98472A #44982A
square
#2A7B98 #7E2A98 #98472A #44982A
split-complementary
#2A7B98 #982A44 #987E2A
monochromatic
#102D38 #1D5468 #2A7B98 #37A2C8 #67B8D5

Accessibility & contrast

On white

4.79
#2A7B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7B98
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B98#FFFFFF#000000##FFFFFF
##2A7B981.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7999
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#008484
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7b98;
/* rgb */ color: rgb(42, 123, 152);
/* oklch */ color: oklch(54.7% 0.088 225.9);
Tailwind
colors: {
  custom: {
    50: '#73a1b6',
    500: '#2a7b98',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b98;
$custom-light: #73a1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b98",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 152
  },
  "hsl": {
    "h": 195.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54715,
    "c": 0.08839,
    "h": 225.9
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#2A7B98
secondary
#BB7A62
accent
#7048E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7B98

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

Preview Lab → · Contrast checker → · Palette generator →

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