#2A97B4#2A97B4

#2A97B4 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 62.9% C 0.103 H 220.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2A97B4
RGBrgb(42, 151, 180)
HSLhsl(193, 62%, 44%)
HSVhsv(193, 77%, 71%)
CMYKcmyk(76.7%, 16.1%, 0%, 29.4%)
CIE-LABlab(57.96, -20.13, -23.75)
CIE-LCHlch(57.96, 31.13, 229.71°)
OKLaboklab(62.94% -0.0788 -0.0664)
OKLCHoklch(62.94% 0.103 220.1)
XYZxyz(20.2562, 25.9183, 47.1063)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A97B4 #B4472A
analogous
#2AB48C #2A97B4 #2A52B4
triadic
#2A97B4 #B42A97 #97B42A
tetradic
#2A97B4 #8C2AB4 #B4472A #52B42A
square
#2A97B4 #8C2AB4 #B4472A #52B42A
split-complementary
#2A97B4 #B42A52 #B48C2A
monochromatic
#134451 #1E6D82 #2A97B4 #47B6D4 #79CAE0

Accessibility & contrast

On white

3.40
#2A97B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#2A97B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A97B4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A97B4#FFFFFF#000000##000000
##2A97B41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B6
Deuteranopia (green-blind)
#7385B4
Tritanopia (blue-blind)
#00A0A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2a97b4;
/* rgb */ color: rgb(42, 151, 180);
/* oklch */ color: oklch(62.9% 0.103 220.1);
Tailwind
colors: {
  custom: {
    50: '#79b5ca',
    500: '#2a97b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a97b4;
$custom-light: #79b5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a97b4",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 180
  },
  "hsl": {
    "h": 192.609,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.10309,
    "h": 220.1
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

primary
#2A97B4
secondary
#C88472
accent
#6543E5
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2A97B4

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

Preview Lab → · Contrast checker → · Palette generator →

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