#2897B2#2897B2

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

Color values

HEX#2897B2
RGBrgb(40, 151, 178)
HSLhsl(192, 63%, 43%)
HSVhsv(192, 78%, 70%)
CMYKcmyk(77.5%, 15.2%, 0%, 30.2%)
CIE-LABlab(57.84, -21.02, -22.80)
CIE-LCHlch(57.84, 31.01, 227.32°)
OKLaboklab(62.81% -0.0804 -0.0637)
OKLCHoklch(62.81% 0.103 218.4)
XYZxyz(19.9742, 25.7962, 46.0373)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897B2 #B24328
analogous
#28B288 #2897B2 #2852B2
triadic
#2897B2 #B22897 #97B228
tetradic
#2897B2 #8828B2 #B24328 #52B228
square
#2897B2 #8828B2 #B24328 #52B228
split-complementary
#2897B2 #B22852 #B28828
monochromatic
#12424E #1D6D80 #2897B2 #43B8D5 #75CBE0

Accessibility & contrast

On white

3.41
#2897B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#2897B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897B2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897B2#FFFFFF#000000##000000
##2897B21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2897b2;
/* rgb */ color: rgb(40, 151, 178);
/* oklch */ color: oklch(62.8% 0.103 218.4);
Tailwind
colors: {
  custom: {
    50: '#78b5c9',
    500: '#2897b2',
    950: '#000000',
  },
}
SCSS
$custom: #2897b2;
$custom-light: #78b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2897b2",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 191.739,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.1026,
    "h": 218.4
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#2897B2
secondary
#C7806F
accent
#6241E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2897B2

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

Preview Lab → · Contrast checker → · Palette generator →

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