#2895A2#2895A2

#2895A2 is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.6% C 0.095 H 206.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2895A2
RGBrgb(40, 149, 162)
HSLhsl(186, 60%, 40%)
HSVhsv(186, 75%, 64%)
CMYKcmyk(75.3%, 8%, 0%, 36.5%)
CIE-LABlab(56.64, -25.21, -15.52)
CIE-LCHlch(56.64, 29.61, 211.63°)
OKLaboklab(61.64% -0.0851 -0.0432)
OKLCHoklch(61.64% 0.095 206.9)
XYZxyz(18.1412, 24.5525, 37.9584)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895A2 #A23528
analogous
#28A272 #2895A2 #2858A2
triadic
#2895A2 #A22895 #95A228
tetradic
#2895A2 #7228A2 #A23528 #58A228
square
#2895A2 #7228A2 #A23528 #58A228
split-complementary
#2895A2 #A22858 #A27228
monochromatic
#103B40 #1C6871 #2895A2 #39BECE #6ACEDA

Accessibility & contrast

On white

3.55
#2895A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#2895A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895A2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895A2#FFFFFF#000000##000000
##2895A21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#009C99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2895a2;
/* rgb */ color: rgb(40, 149, 162);
/* oklch */ color: oklch(61.6% 0.095 206.9);
Tailwind
colors: {
  custom: {
    50: '#76b4bd',
    500: '#2895a2',
    950: '#000000',
  },
}
SCSS
$custom: #2895a2;
$custom-light: #76b4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2895a2",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 162
  },
  "hsl": {
    "h": 186.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.09541,
    "h": 206.9
  },
  "luminance": 0.24555
}

Semantic roles & 50–950 ramp

primary
#2895A2
secondary
#C16F65
accent
#5544E4
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2895A2

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

Preview Lab → · Contrast checker → · Palette generator →

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