#2895A7#2895A7

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

Color values

HEX#2895A7
RGBrgb(40, 149, 167)
HSLhsl(189, 61%, 41%)
HSVhsv(189, 76%, 65%)
CMYKcmyk(76%, 10.8%, 0%, 34.5%)
CIE-LABlab(56.82, -23.60, -18.11)
CIE-LCHlch(56.82, 29.75, 217.50°)
OKLaboklab(61.85% -0.0829 -0.0504)
OKLCHoklch(61.85% 0.097 211.3)
XYZxyz(18.5946, 24.7338, 40.3458)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895A7 #A73A28
analogous
#28A779 #2895A7 #2855A7
triadic
#2895A7 #A72895 #95A728
tetradic
#2895A7 #7928A7 #A73A28 #55A728
square
#2895A7 #7928A7 #A73A28 #55A728
split-complementary
#2895A7 #A72855 #A77928
monochromatic
#103D44 #1C6976 #2895A7 #3CBBD0 #6DCCDC

Accessibility & contrast

On white

3.53
#2895A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#2895A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895A7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895A7#FFFFFF#000000##000000
##2895A71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8790A8
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#009D9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2895a7;
/* rgb */ color: rgb(40, 149, 167);
/* oklch */ color: oklch(61.8% 0.097 211.3);
Tailwind
colors: {
  custom: {
    50: '#77b4c1',
    500: '#2895a7',
    950: '#000000',
  },
}
SCSS
$custom: #2895a7;
$custom-light: #77b4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2895a7",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 167
  },
  "hsl": {
    "h": 188.504,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61847,
    "c": 0.09708,
    "h": 211.3
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#2895A7
secondary
#C37568
accent
#5A43E4
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2895A7

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

Preview Lab → · Contrast checker → · Palette generator →

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