#2882AF#2882AF

#2882AF is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.5% C 0.107 H 235.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2882AF
RGBrgb(40, 130, 175)
HSLhsl(200, 63%, 42%)
HSVhsv(200, 77%, 69%)
CMYKcmyk(77.1%, 25.7%, 0%, 31.4%)
CIE-LABlab(51.28, -10.55, -31.24)
CIE-LCHlch(51.28, 32.97, 251.34°)
OKLaboklab(57.52% -0.061 -0.0881)
OKLCHoklch(57.52% 0.107 235.3)
XYZxyz(16.5925, 19.5095, 43.4404)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2882AF #AF5528
analogous
#28AF99 #2882AF #283EAF
triadic
#2882AF #AF2882 #82AF28
tetradic
#2882AF #9928AF #AF5528 #3EAF28
square
#2882AF #9928AF #AF5528 #3EAF28
split-complementary
#2882AF #AF283E #AF9928
monochromatic
#11384B #1D5D7D #2882AF #41A3D4 #73BBDF

Accessibility & contrast

On white

4.28
#2882AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2882AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2882AF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2882AF#FFFFFF#000000##000000
##2882AF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C81B1
Deuteranopia (green-blind)
#5A75AE
Tritanopia (blue-blind)
#008E91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2882af;
/* rgb */ color: rgb(40, 130, 175);
/* oklch */ color: oklch(57.5% 0.107 235.3);
Tailwind
colors: {
  custom: {
    50: '#76a6c7',
    500: '#2882af',
    950: '#000000',
  },
}
SCSS
$custom: #2882af;
$custom-light: #76a6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2882af",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 175
  },
  "hsl": {
    "h": 200,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.10717,
    "h": 235.3
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#2882AF
secondary
#C68B6D
accent
#7942E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2882AF

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

Preview Lab → · Contrast checker → · Palette generator →

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