#2897AF#2897AF

#2897AF is a light, moderate cyan. Relative luminance 0.257; OKLCH L 62.7% C 0.101 H 216.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2897AF
RGBrgb(40, 151, 175)
HSLhsl(191, 63%, 42%)
HSVhsv(191, 77%, 69%)
CMYKcmyk(77.1%, 13.7%, 0%, 31.4%)
CIE-LABlab(57.73, -22.02, -21.27)
CIE-LCHlch(57.73, 30.61, 224.01°)
OKLaboklab(62.68% -0.0816 -0.0594)
OKLCHoklch(62.68% 0.101 216)
XYZxyz(19.6762, 25.6771, 44.4683)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897AF #AF4028
analogous
#28AF84 #2897AF #2853AF
triadic
#2897AF #AF2897 #97AF28
tetradic
#2897AF #8428AF #AF4028 #53AF28
square
#2897AF #8428AF #AF4028 #53AF28
split-complementary
#2897AF #AF2853 #AF8428
monochromatic
#11414B #1D6C7D #2897AF #41B9D4 #73CCDF

Accessibility & contrast

On white

3.42
#2897AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2897AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897AF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897AF#FFFFFF#000000##000000
##2897AF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8792B0
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#00A09F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2897af;
/* rgb */ color: rgb(40, 151, 175);
/* oklch */ color: oklch(62.7% 0.101 216.0);
Tailwind
colors: {
  custom: {
    50: '#78b5c7',
    500: '#2897af',
    950: '#000000',
  },
}
SCSS
$custom: #2897af;
$custom-light: #78b5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2897af",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 175
  },
  "hsl": {
    "h": 190.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.10094,
    "h": 216
  },
  "luminance": 0.25679
}

Semantic roles & 50–950 ramp

primary
#2897AF
secondary
#C67D6D
accent
#5F42E6
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2897AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2897AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva