#2895BF#2895BF

#2895BF is a light, moderate cyan. Relative luminance 0.257; OKLCH L 62.9% C 0.113 H 229.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2895BF
RGBrgb(40, 149, 191)
HSLhsl(197, 65%, 45%)
HSVhsv(197, 79%, 75%)
CMYKcmyk(79.1%, 22%, 0%, 25.1%)
CIE-LABlab(57.76, -15.53, -30.29)
CIE-LCHlch(57.76, 34.04, 242.85°)
OKLaboklab(62.91% -0.0735 -0.0852)
OKLCHoklch(62.91% 0.113 229.2)
XYZxyz(21.0226, 25.7050, 53.1337)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895BF #BF5228
analogous
#28BF9E #2895BF #2849BF
triadic
#2895BF #BF2895 #95BF28
tetradic
#2895BF #9E28BF #BF5228 #49BF28
square
#2895BF #9E28BF #BF5228 #49BF28
split-complementary
#2895BF #BF2849 #BF9E28
monochromatic
#13465A #1D6E8C #2895BF #4BB2D9 #7EC7E4

Accessibility & contrast

On white

3.42
#2895BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2895BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895BF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895BF#FFFFFF#000000##000000
##2895BF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C1
Deuteranopia (green-blind)
#6B85BE
Tritanopia (blue-blind)
#00A1A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2895bf;
/* rgb */ color: rgb(40, 149, 191);
/* oklch */ color: oklch(62.9% 0.113 229.2);
Tailwind
colors: {
  custom: {
    50: '#7ab4d2',
    500: '#2895bf',
    950: '#000000',
  },
}
SCSS
$custom: #2895bf;
$custom-light: #7ab4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2895bf",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 191
  },
  "hsl": {
    "h": 196.689,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62914,
    "c": 0.11254,
    "h": 229.2
  },
  "luminance": 0.25708
}

Semantic roles & 50–950 ramp

primary
#2895BF
secondary
#CC8E77
accent
#6E3FE8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2895BF

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

Preview Lab → · Contrast checker → · Palette generator →

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