#2895B3#2895B3

#2895B3 is a light, moderate cyan. Relative luminance 0.252; OKLCH L 62.4% C 0.103 H 221.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2895B3
RGBrgb(40, 149, 179)
HSLhsl(193, 63%, 43%)
HSVhsv(193, 78%, 70%)
CMYKcmyk(77.7%, 16.8%, 0%, 29.8%)
CIE-LABlab(57.27, -19.63, -24.25)
CIE-LCHlch(57.27, 31.20, 231.00°)
OKLaboklab(62.36% -0.0781 -0.0679)
OKLCHoklch(62.36% 0.103 221)
XYZxyz(19.7558, 25.1983, 46.4616)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895B3 #B34628
analogous
#28B38C #2895B3 #284FB3
triadic
#2895B3 #B32895 #95B328
tetradic
#2895B3 #8C28B3 #B34628 #4FB328
square
#2895B3 #8C28B3 #B34628 #4FB328
split-complementary
#2895B3 #B3284F #B38C28
monochromatic
#12424F #1D6B81 #2895B3 #43B6D5 #75C9E0

Accessibility & contrast

On white

3.48
#2895B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#2895B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895B3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895B3#FFFFFF#000000##000000
##2895B31.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B5
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#009F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2895b3;
/* rgb */ color: rgb(40, 149, 179);
/* oklch */ color: oklch(62.4% 0.103 221.0);
Tailwind
colors: {
  custom: {
    50: '#78b4c9',
    500: '#2895b3',
    950: '#000000',
  },
}
SCSS
$custom: #2895b3;
$custom-light: #78b4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2895b3",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 179
  },
  "hsl": {
    "h": 192.95,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62362,
    "c": 0.10344,
    "h": 221
  },
  "luminance": 0.25201
}

Semantic roles & 50–950 ramp

primary
#2895B3
secondary
#C8826F
accent
#6541E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2895B3

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

Preview Lab → · Contrast checker → · Palette generator →

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