#2875A5#2875A5

#2875A5 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.8% C 0.105 H 240.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2875A5
RGBrgb(40, 117, 165)
HSLhsl(203, 61%, 40%)
HSVhsv(203, 76%, 65%)
CMYKcmyk(75.8%, 29.1%, 0%, 35.3%)
CIE-LABlab(46.83, -6.59, -32.39)
CIE-LCHlch(46.83, 33.05, 258.49°)
OKLaboklab(53.83% -0.0517 -0.0916)
OKLCHoklch(53.83% 0.105 240.5)
XYZxyz(14.0252, 15.8887, 37.9177)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A5 #A55828
analogous
#28A597 #2875A5 #2836A5
triadic
#2875A5 #A52875 #75A528
tetradic
#2875A5 #9728A5 #A55828 #36A528
square
#2875A5 #9728A5 #A55828 #36A528
split-complementary
#2875A5 #A52836 #A59728
monochromatic
#102F42 #1C5274 #2875A5 #3B96CF #6CB1DB

Accessibility & contrast

On white

5.03
#2875A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2875A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875A5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875A5#FFFFFF#000000##FFFFFF
##2875A51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A7
Deuteranopia (green-blind)
#4D6AA4
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2875a5;
/* rgb */ color: rgb(40, 117, 165);
/* oklch */ color: oklch(53.8% 0.105 240.5);
Tailwind
colors: {
  custom: {
    50: '#749cc0',
    500: '#2875a5',
    950: '#000000',
  },
}
SCSS
$custom: #2875a5;
$custom-light: #749cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a5",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 165
  },
  "hsl": {
    "h": 203.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.10517,
    "h": 240.5
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#2875A5
secondary
#C28A67
accent
#8144E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2875A5

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

Preview Lab → · Contrast checker → · Palette generator →

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