#2875AB#2875AB

#2875AB is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.2% C 0.112 H 243.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2875AB
RGBrgb(40, 117, 171)
HSLhsl(205, 62%, 41%)
HSVhsv(205, 77%, 67%)
CMYKcmyk(76.6%, 31.6%, 0%, 32.9%)
CIE-LABlab(47.12, -4.39, -35.43)
CIE-LCHlch(47.12, 35.70, 262.93°)
OKLaboklab(54.16% -0.0498 -0.1004)
OKLCHoklch(54.16% 0.112 243.6)
XYZxyz(14.5842, 16.1123, 40.8615)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875AB #AB5E28
analogous
#28ABA0 #2875AB #2834AB
triadic
#2875AB #AB2875 #75AB28
tetradic
#2875AB #A028AB #AB5E28 #34AB28
square
#2875AB #A028AB #AB5E28 #34AB28
split-complementary
#2875AB #AB2834 #ABA028
monochromatic
#113148 #1C5379 #2875AB #3E95D2 #70B0DE

Accessibility & contrast

On white

4.97
#2875AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2875AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875AB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875AB#FFFFFF#000000##FFFFFF
##2875AB1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AD
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2875ab;
/* rgb */ color: rgb(40, 117, 171);
/* oklch */ color: oklch(54.2% 0.112 243.6);
Tailwind
colors: {
  custom: {
    50: '#759cc4',
    500: '#2875ab',
    950: '#000000',
  },
}
SCSS
$custom: #2875ab;
$custom-light: #759cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2875ab",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 171
  },
  "hsl": {
    "h": 204.733,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.11211,
    "h": 243.6
  },
  "luminance": 0.16114
}

Semantic roles & 50–950 ramp

primary
#2875AB
secondary
#C48F6A
accent
#8643E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2875AB

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

Preview Lab → · Contrast checker → · Palette generator →

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