#2895A6#2895A6

#2895A6 is a mid, moderate teal. Relative luminance 0.247; OKLCH L 61.8% C 0.097 H 210.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2895A6
RGBrgb(40, 149, 166)
HSLhsl(188, 61%, 40%)
HSVhsv(188, 76%, 65%)
CMYKcmyk(75.9%, 10.2%, 0%, 34.9%)
CIE-LABlab(56.78, -23.92, -17.59)
CIE-LCHlch(56.78, 29.70, 216.33°)
OKLaboklab(61.81% -0.0834 -0.049)
OKLCHoklch(61.81% 0.097 210.4)
XYZxyz(18.5025, 24.6969, 39.8608)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895A6 #A63928
analogous
#28A678 #2895A6 #2856A6
triadic
#2895A6 #A62895 #95A628
tetradic
#2895A6 #7828A6 #A63928 #56A628
square
#2895A6 #7828A6 #A63928 #56A628
split-complementary
#2895A6 #A62856 #A67828
monochromatic
#103C43 #1C6975 #2895A6 #3BBCD0 #6DCDDC

Accessibility & contrast

On white

3.54
#2895A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#2895A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895A6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895A6#FFFFFF#000000##000000
##2895A61.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA7
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#009C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2895a6;
/* rgb */ color: rgb(40, 149, 166);
/* oklch */ color: oklch(61.8% 0.097 210.4);
Tailwind
colors: {
  custom: {
    50: '#77b4c0',
    500: '#2895a6',
    950: '#000000',
  },
}
SCSS
$custom: #2895a6;
$custom-light: #77b4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2895a6",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 166
  },
  "hsl": {
    "h": 188.095,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.09669,
    "h": 210.4
  },
  "luminance": 0.24699
}

Semantic roles & 50–950 ramp

primary
#2895A6
secondary
#C27467
accent
#5944E4
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2895A6

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

Preview Lab → · Contrast checker → · Palette generator →

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