#2885AF#2885AF

#2885AF is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.2% C 0.106 H 232.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2885AF
RGBrgb(40, 133, 175)
HSLhsl(199, 63%, 42%)
HSVhsv(199, 77%, 69%)
CMYKcmyk(77.1%, 24%, 0%, 31.4%)
CIE-LABlab(52.20, -12.25, -29.81)
CIE-LCHlch(52.20, 32.23, 247.66°)
OKLaboklab(58.25% -0.0639 -0.0839)
OKLCHoklch(58.25% 0.106 232.7)
XYZxyz(16.9973, 20.3193, 43.5753)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2885AF #AF5228
analogous
#28AF96 #2885AF #2841AF
triadic
#2885AF #AF2885 #85AF28
tetradic
#2885AF #9628AF #AF5228 #41AF28
square
#2885AF #9628AF #AF5228 #41AF28
split-complementary
#2885AF #AF2841 #AF9628
monochromatic
#11394B #1D5F7D #2885AF #41A6D4 #73BDDF

Accessibility & contrast

On white

4.15
#2885AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2885AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2885AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2885AF#FFFFFF#000000##000000
##2885AF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7084B1
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#009093
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2885af;
/* rgb */ color: rgb(40, 133, 175);
/* oklch */ color: oklch(58.2% 0.106 232.7);
Tailwind
colors: {
  custom: {
    50: '#76a8c7',
    500: '#2885af',
    950: '#000000',
  },
}
SCSS
$custom: #2885af;
$custom-light: #76a8c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2885af",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 175
  },
  "hsl": {
    "h": 198.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.10552,
    "h": 232.7
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#2885AF
secondary
#C6896D
accent
#7542E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2885AF

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

Preview Lab → · Contrast checker → · Palette generator →

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