#2895BD#2895BD

#2895BD is a light, moderate cyan. Relative luminance 0.256; OKLCH L 62.8% C 0.111 H 227.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2895BD
RGBrgb(40, 149, 189)
HSLhsl(196, 65%, 45%)
HSVhsv(196, 79%, 74%)
CMYKcmyk(78.8%, 21.2%, 0%, 25.9%)
CIE-LABlab(57.67, -16.23, -29.29)
CIE-LCHlch(57.67, 33.49, 241.02°)
OKLaboklab(62.82% -0.0743 -0.0823)
OKLCHoklch(62.82% 0.111 227.9)
XYZxyz(20.8040, 25.6176, 51.9825)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895BD #BD5028
analogous
#28BD9A #2895BD #284BBD
triadic
#2895BD #BD2895 #95BD28
tetradic
#2895BD #9A28BD #BD5028 #4BBD28
square
#2895BD #9A28BD #BD5028 #4BBD28
split-complementary
#2895BD #BD284B #BD9A28
monochromatic
#134558 #1D6D8A #2895BD #4AB2D9 #7CC8E3

Accessibility & contrast

On white

3.43
#2895BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#2895BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895BD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895BD#FFFFFF#000000##000000
##2895BD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BF
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#00A0A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2895bd;
/* rgb */ color: rgb(40, 149, 189);
/* oklch */ color: oklch(62.8% 0.111 227.9);
Tailwind
colors: {
  custom: {
    50: '#7ab4d1',
    500: '#2895bd',
    950: '#000000',
  },
}
SCSS
$custom: #2895bd;
$custom-light: #7ab4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2895bd",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 189
  },
  "hsl": {
    "h": 196.107,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.11087,
    "h": 227.9
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#2895BD
secondary
#CB8C75
accent
#6D40E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2895BD

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

Preview Lab → · Contrast checker → · Palette generator →

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