#2894B7#2894B7

#2894B7 is a light, moderate cyan. Relative luminance 0.251; OKLCH L 62.3% C 0.106 H 224.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2894B7
RGBrgb(40, 148, 183)
HSLhsl(195, 64%, 44%)
HSVhsv(195, 78%, 72%)
CMYKcmyk(78.1%, 19.1%, 0%, 28.2%)
CIE-LABlab(57.12, -17.74, -26.74)
CIE-LCHlch(57.12, 32.09, 236.44°)
OKLaboklab(62.3% -0.0756 -0.075)
OKLCHoklch(62.3% 0.106 224.8)
XYZxyz(20.0087, 25.0474, 48.5706)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2894B7 #B74B28
analogous
#28B792 #2894B7 #284CB7
triadic
#2894B7 #B72894 #94B728
tetradic
#2894B7 #9228B7 #B74B28 #4CB728
square
#2894B7 #9228B7 #B74B28 #4CB728
split-complementary
#2894B7 #B7284C #B79228
monochromatic
#124353 #1D6B85 #2894B7 #46B3D6 #78C8E1

Accessibility & contrast

On white

3.49
#2894B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#2894B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2894B7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2894B7#FFFFFF#000000##000000
##2894B71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8191B9
Deuteranopia (green-blind)
#6E83B7
Tritanopia (blue-blind)
#009E9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2894b7;
/* rgb */ color: rgb(40, 148, 183);
/* oklch */ color: oklch(62.3% 0.106 224.8);
Tailwind
colors: {
  custom: {
    50: '#79b3cc',
    500: '#2894b7',
    950: '#000000',
  },
}
SCSS
$custom: #2894b7;
$custom-light: #79b3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2894b7",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 183
  },
  "hsl": {
    "h": 194.685,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.10646,
    "h": 224.8
  },
  "luminance": 0.2505
}

Semantic roles & 50–950 ramp

primary
#2894B7
secondary
#C98772
accent
#6941E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2894B7

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

Preview Lab → · Contrast checker → · Palette generator →

#2894B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva