#2895B2#2895B2

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

Color values

HEX#2895B2
RGBrgb(40, 149, 178)
HSLhsl(193, 63%, 43%)
HSVhsv(193, 78%, 70%)
CMYKcmyk(77.5%, 16.3%, 0%, 30.2%)
CIE-LABlab(57.23, -19.97, -23.74)
CIE-LCHlch(57.23, 31.02, 229.93°)
OKLaboklab(62.32% -0.0785 -0.0664)
OKLCHoklch(62.32% 0.103 220.2)
XYZxyz(19.6550, 25.1580, 45.9309)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2895B2 #B24528
analogous
#28B28A #2895B2 #2850B2
triadic
#2895B2 #B22895 #95B228
tetradic
#2895B2 #8A28B2 #B24528 #50B228
square
#2895B2 #8A28B2 #B24528 #50B228
split-complementary
#2895B2 #B22850 #B28A28
monochromatic
#12414E #1D6B80 #2895B2 #43B6D5 #75C9E0

Accessibility & contrast

On white

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

On black

6.03
#2895B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2895B2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2895B2#FFFFFF#000000##000000
##2895B21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#009E9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2895b2;
/* rgb */ color: rgb(40, 149, 178);
/* oklch */ color: oklch(62.3% 0.103 220.2);
Tailwind
colors: {
  custom: {
    50: '#78b4c9',
    500: '#2895b2',
    950: '#000000',
  },
}
SCSS
$custom: #2895b2;
$custom-light: #78b4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2895b2",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 178
  },
  "hsl": {
    "h": 192.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.10279,
    "h": 220.2
  },
  "luminance": 0.2516
}

Semantic roles & 50–950 ramp

primary
#2895B2
secondary
#C7816F
accent
#6441E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2895B2

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

Preview Lab → · Contrast checker → · Palette generator →

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