#2897B3#2897B3

#2897B3 is a light, moderate cyan. Relative luminance 0.258; OKLCH L 62.9% C 0.103 H 219.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2897B3
RGBrgb(40, 151, 179)
HSLhsl(192, 63%, 43%)
HSVhsv(192, 78%, 70%)
CMYKcmyk(77.7%, 15.6%, 0%, 29.8%)
CIE-LABlab(57.88, -20.69, -23.30)
CIE-LCHlch(57.88, 31.16, 228.40°)
OKLaboklab(62.86% -0.08 -0.0652)
OKLCHoklch(62.86% 0.103 219.2)
XYZxyz(20.0749, 25.8366, 46.5680)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897B3 #B34428
analogous
#28B389 #2897B3 #2852B3
triadic
#2897B3 #B32897 #97B328
tetradic
#2897B3 #8928B3 #B34428 #52B328
square
#2897B3 #8928B3 #B34428 #52B328
split-complementary
#2897B3 #B32852 #B38928
monochromatic
#12434F #1D6D81 #2897B3 #43B8D5 #75CBE0

Accessibility & contrast

On white

3.40
#2897B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2897B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897B3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897B3#FFFFFF#000000##000000
##2897B31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B5
Deuteranopia (green-blind)
#7385B3
Tritanopia (blue-blind)
#00A0A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2897b3;
/* rgb */ color: rgb(40, 151, 179);
/* oklch */ color: oklch(62.9% 0.103 219.2);
Tailwind
colors: {
  custom: {
    50: '#78b5c9',
    500: '#2897b3',
    950: '#000000',
  },
}
SCSS
$custom: #2897b3;
$custom-light: #78b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2897b3",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 179
  },
  "hsl": {
    "h": 192.086,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.1032,
    "h": 219.2
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#2897B3
secondary
#C8816F
accent
#6341E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2897B3

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

Preview Lab → · Contrast checker → · Palette generator →

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