#2897BA#2897BA

#2897BA is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.2% C 0.108 H 224.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2897BA
RGBrgb(40, 151, 186)
HSLhsl(194, 65%, 44%)
HSVhsv(194, 78%, 73%)
CMYKcmyk(78.5%, 18.8%, 0%, 27.1%)
CIE-LABlab(58.16, -18.33, -26.84)
CIE-LCHlch(58.16, 32.51, 235.67°)
OKLaboklab(63.17% -0.0773 -0.0753)
OKLCHoklch(63.17% 0.108 224.2)
XYZxyz(20.8009, 26.1270, 50.3916)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897BA #BA4B28
analogous
#28BA94 #2897BA #284EBA
triadic
#2897BA #BA2897 #97BA28
tetradic
#2897BA #9428BA #BA4B28 #4EBA28
square
#2897BA #9428BA #BA4B28 #4EBA28
split-complementary
#2897BA #BA284E #BA9428
monochromatic
#124555 #1D6E88 #2897BA #48B5D8 #7AC9E2

Accessibility & contrast

On white

3.37
#2897BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#2897BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897BA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897BA#FFFFFF#000000##000000
##2897BA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BC
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#00A2A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2897ba;
/* rgb */ color: rgb(40, 151, 186);
/* oklch */ color: oklch(63.2% 0.108 224.2);
Tailwind
colors: {
  custom: {
    50: '#7ab5ce',
    500: '#2897ba',
    950: '#000000',
  },
}
SCSS
$custom: #2897ba;
$custom-light: #7ab5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2897ba",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 194.384,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.1079,
    "h": 224.2
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#2897BA
secondary
#CA8873
accent
#6840E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2897BA

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

Preview Lab → · Contrast checker → · Palette generator →

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