#2891AD#2891AD

#2891AD is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.1% C 0.100 H 220.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2891AD
RGBrgb(40, 145, 173)
HSLhsl(193, 62%, 42%)
HSVhsv(193, 77%, 68%)
CMYKcmyk(76.9%, 16.2%, 0%, 32.2%)
CIE-LABlab(55.80, -19.52, -23.08)
CIE-LCHlch(55.80, 30.23, 229.78°)
OKLaboklab(61.11% -0.0765 -0.0646)
OKLCHoklch(61.11% 0.1 220.2)
XYZxyz(18.5401, 23.7168, 43.1277)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891AD #AD4428
analogous
#28AD87 #2891AD #284EAD
triadic
#2891AD #AD2891 #91AD28
tetradic
#2891AD #8728AD #AD4428 #4EAD28
square
#2891AD #8728AD #AD4428 #4EAD28
split-complementary
#2891AD #AD284E #AD8728
monochromatic
#113E4A #1D677B #2891AD #3FB4D3 #71C7DE

Accessibility & contrast

On white

3.66
#2891AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2891AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891AD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891AD#FFFFFF#000000##000000
##2891AD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAE
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#009A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2891ad;
/* rgb */ color: rgb(40, 145, 173);
/* oklch */ color: oklch(61.1% 0.100 220.2);
Tailwind
colors: {
  custom: {
    50: '#77b1c5',
    500: '#2891ad',
    950: '#000000',
  },
}
SCSS
$custom: #2891ad;
$custom-light: #77b1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2891ad",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 173
  },
  "hsl": {
    "h": 192.632,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.1001,
    "h": 220.2
  },
  "luminance": 0.23719
}

Semantic roles & 50–950 ramp

primary
#2891AD
secondary
#C57E6C
accent
#6542E6
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2891AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2891AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva