#2A98B7#2A98B7

#2A98B7 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.3% C 0.105 H 221.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2A98B7
RGBrgb(42, 152, 183)
HSLhsl(193, 63%, 44%)
HSVhsv(193, 77%, 72%)
CMYKcmyk(77%, 16.9%, 0%, 28.2%)
CIE-LABlab(58.38, -19.66, -24.80)
CIE-LCHlch(58.38, 31.64, 231.60°)
OKLaboklab(63.32% -0.0786 -0.0694)
OKLCHoklch(63.32% 0.105 221.4)
XYZxyz(20.7267, 26.3651, 48.7872)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A98B7 #B7492A
analogous
#2AB790 #2A98B7 #2A52B7
triadic
#2A98B7 #B72A98 #98B72A
tetradic
#2A98B7 #902AB7 #B7492A #52B72A
square
#2A98B7 #902AB7 #B7492A #52B72A
split-complementary
#2A98B7 #B72A52 #B7902A
monochromatic
#134553 #1F6F85 #2A98B7 #49B6D5 #7BCAE1

Accessibility & contrast

On white

3.35
#2A98B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#2A98B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A98B7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A98B7#FFFFFF#000000##000000
##2A98B71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B9
Deuteranopia (green-blind)
#7386B7
Tritanopia (blue-blind)
#00A2A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2a98b7;
/* rgb */ color: rgb(42, 152, 183);
/* oklch */ color: oklch(63.3% 0.105 221.4);
Tailwind
colors: {
  custom: {
    50: '#7ab6cc',
    500: '#2a98b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a98b7;
$custom-light: #7ab6cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a98b7",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 183
  },
  "hsl": {
    "h": 193.191,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63319,
    "c": 0.10489,
    "h": 221.4
  },
  "luminance": 0.26368
}

Semantic roles & 50–950 ramp

primary
#2A98B7
secondary
#C98774
accent
#6642E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2A98B7

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

Preview Lab → · Contrast checker → · Palette generator →

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