#2891AF#2891AF

#2891AF is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.2% C 0.101 H 221.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2891AF
RGBrgb(40, 145, 175)
HSLhsl(193, 63%, 42%)
HSVhsv(193, 77%, 69%)
CMYKcmyk(77.1%, 17.1%, 0%, 31.4%)
CIE-LABlab(55.88, -18.85, -24.10)
CIE-LCHlch(55.88, 30.60, 231.98°)
OKLaboklab(61.2% -0.0757 -0.0675)
OKLCHoklch(61.2% 0.101 221.7)
XYZxyz(18.7351, 23.7948, 44.1546)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891AF #AF4628
analogous
#28AF89 #2891AF #284EAF
triadic
#2891AF #AF2891 #91AF28
tetradic
#2891AF #8928AF #AF4628 #4EAF28
square
#2891AF #8928AF #AF4628 #4EAF28
split-complementary
#2891AF #AF284E #AF8928
monochromatic
#113E4B #1D687D #2891AF #41B3D4 #73C7DF

Accessibility & contrast

On white

3.65
#2891AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2891AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891AF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891AF#FFFFFF#000000##000000
##2891AF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8DB1
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#009A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2891af;
/* rgb */ color: rgb(40, 145, 175);
/* oklch */ color: oklch(61.2% 0.101 221.7);
Tailwind
colors: {
  custom: {
    50: '#77b1c7',
    500: '#2891af',
    950: '#000000',
  },
}
SCSS
$custom: #2891af;
$custom-light: #77b1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2891af",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 175
  },
  "hsl": {
    "h": 193.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.10141,
    "h": 221.7
  },
  "luminance": 0.23797
}

Semantic roles & 50–950 ramp

primary
#2891AF
secondary
#C6816D
accent
#6642E6
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2891AF

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

Preview Lab → · Contrast checker → · Palette generator →

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