#2A98B5#2A98B5

#2A98B5 is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.2% C 0.104 H 219.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2A98B5
RGBrgb(42, 152, 181)
HSLhsl(193, 62%, 44%)
HSVhsv(193, 77%, 71%)
CMYKcmyk(76.8%, 16%, 0%, 29%)
CIE-LABlab(58.30, -20.33, -23.79)
CIE-LCHlch(58.30, 31.29, 229.48°)
OKLaboklab(63.23% -0.0794 -0.0665)
OKLCHoklch(63.23% 0.104 219.9)
XYZxyz(20.5201, 26.2824, 47.6986)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A98B5 #B5472A
analogous
#2AB58C #2A98B5 #2A52B5
triadic
#2A98B5 #B52A98 #98B52A
tetradic
#2A98B5 #8C2AB5 #B5472A #52B52A
square
#2A98B5 #8C2AB5 #B5472A #52B52A
split-complementary
#2A98B5 #B52A52 #B58C2A
monochromatic
#134552 #1E6E83 #2A98B5 #48B7D4 #79CBE0

Accessibility & contrast

On white

3.36
#2A98B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#2A98B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A98B5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A98B5#FFFFFF#000000##000000
##2A98B51.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B7
Deuteranopia (green-blind)
#7486B5
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2a98b5;
/* rgb */ color: rgb(42, 152, 181);
/* oklch */ color: oklch(63.2% 0.104 219.9);
Tailwind
colors: {
  custom: {
    50: '#79b6cb',
    500: '#2a98b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a98b5;
$custom-light: #79b6cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a98b5",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 181
  },
  "hsl": {
    "h": 192.518,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.63231,
    "c": 0.10361,
    "h": 219.9
  },
  "luminance": 0.26285
}

Semantic roles & 50–950 ramp

primary
#2A98B5
secondary
#C88573
accent
#6442E5
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2A98B5

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

Preview Lab → · Contrast checker → · Palette generator →

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