#2A98C7#2A98C7

#2A98C7 is a light, moderate cyan. Relative luminance 0.271; OKLCH L 64.1% C 0.118 H 231.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2A98C7
RGBrgb(42, 152, 199)
HSLhsl(198, 65%, 47%)
HSVhsv(198, 79%, 78%)
CMYKcmyk(78.9%, 23.6%, 0%, 22%)
CIE-LABlab(59.04, -14.20, -32.81)
CIE-LCHlch(59.04, 35.75, 246.60°)
OKLaboklab(64.06% -0.0727 -0.0924)
OKLCHoklch(64.06% 0.118 231.8)
XYZxyz(22.4877, 27.0695, 58.0615)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A98C7 #C7592A
analogous
#2AC7A8 #2A98C7 #2A49C7
triadic
#2A98C7 #C72A98 #98C72A
tetradic
#2A98C7 #A82AC7 #C7592A #49C72A
square
#2A98C7 #A82AC7 #C7592A #49C72A
split-complementary
#2A98C7 #C72A49 #C7A82A
monochromatic
#154B62 #1F7194 #2A98C7 #53B2DB #86C9E5

Accessibility & contrast

On white

3.27
#2A98C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#2A98C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A98C7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A98C7#FFFFFF#000000##000000
##2A98C71.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096C9
Deuteranopia (green-blind)
#6C88C6
Tritanopia (blue-blind)
#00A5A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2a98c7;
/* rgb */ color: rgb(42, 152, 199);
/* oklch */ color: oklch(64.1% 0.118 231.8);
Tailwind
colors: {
  custom: {
    50: '#7cb6d8',
    500: '#2a98c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a98c7;
$custom-light: #7cb6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a98c7",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 199
  },
  "hsl": {
    "h": 197.962,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64062,
    "c": 0.11759,
    "h": 231.8
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#2A98C7
secondary
#CF967E
accent
#7240E8
background
#F8FBFD
surface
#EFF6FA
border
#CAD0D3
text
#0B1114
muted
#7C8083

Preview Lab

Preview with #2A98C7

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

Preview Lab → · Contrast checker → · Palette generator →

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