#2A97C7#2A97C7

#2A97C7 is a light, moderate cyan. Relative luminance 0.267; OKLCH L 63.8% C 0.118 H 232.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2A97C7
RGBrgb(42, 151, 199)
HSLhsl(198, 65%, 47%)
HSVhsv(198, 79%, 78%)
CMYKcmyk(78.9%, 24.1%, 0%, 22%)
CIE-LABlab(58.74, -13.64, -33.27)
CIE-LCHlch(58.74, 35.96, 247.70°)
OKLaboklab(63.82% -0.0718 -0.0938)
OKLCHoklch(63.82% 0.118 232.6)
XYZxyz(22.3261, 26.7462, 58.0076)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A97C7 #C75A2A
analogous
#2AC7A9 #2A97C7 #2A49C7
triadic
#2A97C7 #C72A97 #97C72A
tetradic
#2A97C7 #A92AC7 #C75A2A #49C72A
square
#2A97C7 #A92AC7 #C75A2A #49C72A
split-complementary
#2A97C7 #C72A49 #C7A92A
monochromatic
#154A62 #1F7194 #2A97C7 #53B1DB #86C8E5

Accessibility & contrast

On white

3.31
#2A97C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#2A97C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A97C7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A97C7#FFFFFF#000000##000000
##2A97C71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95C9
Deuteranopia (green-blind)
#6A87C6
Tritanopia (blue-blind)
#00A4A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2a97c7;
/* rgb */ color: rgb(42, 151, 199);
/* oklch */ color: oklch(63.8% 0.118 232.6);
Tailwind
colors: {
  custom: {
    50: '#7cb5d8',
    500: '#2a97c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a97c7;
$custom-light: #7cb5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a97c7",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 199
  },
  "hsl": {
    "h": 198.344,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.63823,
    "c": 0.11808,
    "h": 232.6
  },
  "luminance": 0.26749
}

Semantic roles & 50–950 ramp

primary
#2A97C7
secondary
#CF977E
accent
#7340E8
background
#F8FBFD
surface
#EFF6FA
border
#CAD0D3
text
#0B1114
muted
#7C8083

Preview Lab

Preview with #2A97C7

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

Preview Lab → · Contrast checker → · Palette generator →

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