#2895B7#2895B7

#2895B7 is a light, moderate cyan. Relative luminance 0.254; OKLCH L 62.5% C 0.106 H 223.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2895B7
RGBrgb(40, 149, 183)
HSLhsl(194, 64%, 44%)
HSVhsv(194, 78%, 72%)
CMYKcmyk(78.1%, 18.6%, 0%, 28.2%)
CIE-LABlab(57.43, -18.28, -26.27)
CIE-LCHlch(57.43, 32.01, 235.17°)
OKLaboklab(62.54% -0.0765 -0.0737)
OKLCHoklch(62.54% 0.106 223.9)
XYZxyz(20.1662, 25.3624, 48.6232)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895B7 #B74A28
analogous
#28B791 #2895B7 #284DB7
triadic
#2895B7 #B72895 #95B728
tetradic
#2895B7 #9128B7 #B74A28 #4DB728
square
#2895B7 #9128B7 #B74A28 #4DB728
split-complementary
#2895B7 #B7284D #B79128
monochromatic
#124353 #1D6C85 #2895B7 #46B4D6 #78C8E1

Accessibility & contrast

On white

3.46
#2895B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2895B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895B7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895B7#FFFFFF#000000##000000
##2895B71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8292B9
Deuteranopia (green-blind)
#6F84B7
Tritanopia (blue-blind)
#009FA0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2895b7;
/* rgb */ color: rgb(40, 149, 183);
/* oklch */ color: oklch(62.5% 0.106 223.9);
Tailwind
colors: {
  custom: {
    50: '#79b4cc',
    500: '#2895b7',
    950: '#000000',
  },
}
SCSS
$custom: #2895b7;
$custom-light: #79b4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2895b7",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 183
  },
  "hsl": {
    "h": 194.266,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.10621,
    "h": 223.9
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#2895B7
secondary
#C98672
accent
#6841E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2895B7

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

Preview Lab → · Contrast checker → · Palette generator →

#2895B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva