#2875AE#2875AE

#2875AE is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.3% C 0.116 H 245.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2875AE
RGBrgb(40, 117, 174)
HSLhsl(206, 63%, 42%)
HSVhsv(206, 77%, 68%)
CMYKcmyk(77%, 32.8%, 0%, 31.8%)
CIE-LABlab(47.27, -3.29, -36.94)
CIE-LCHlch(47.27, 37.09, 264.92°)
OKLaboklab(54.32% -0.0489 -0.1048)
OKLCHoklch(54.32% 0.116 245)
XYZxyz(14.8734, 16.2279, 42.3846)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875AE #AE6128
analogous
#28AEA4 #2875AE #2832AE
triadic
#2875AE #AE2875 #75AE28
tetradic
#2875AE #A428AE #AE6128 #32AE28
square
#2875AE #A428AE #AE6128 #32AE28
split-complementary
#2875AE #AE2832 #AEA428
monochromatic
#11324A #1D547C #2875AE #4095D3 #72B0DF

Accessibility & contrast

On white

4.95
#2875AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2875AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875AE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875AE#FFFFFF#000000##FFFFFF
##2875AE1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B77B0
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2875ae;
/* rgb */ color: rgb(40, 117, 174);
/* oklch */ color: oklch(54.3% 0.116 245.0);
Tailwind
colors: {
  custom: {
    50: '#769cc6',
    500: '#2875ae',
    950: '#000000',
  },
}
SCSS
$custom: #2875ae;
$custom-light: #769cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2875ae",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 174
  },
  "hsl": {
    "h": 205.522,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.11568,
    "h": 245
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#2875AE
secondary
#C6926C
accent
#8842E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2875AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2875AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva