#2875A3#2875A3

#2875A3 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.7% C 0.103 H 239.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2875A3
RGBrgb(40, 117, 163)
HSLhsl(202, 61%, 40%)
HSVhsv(202, 75%, 64%)
CMYKcmyk(75.5%, 28.2%, 0%, 36.1%)
CIE-LABlab(46.73, -7.32, -31.36)
CIE-LCHlch(46.73, 32.21, 256.86°)
OKLaboklab(53.72% -0.0524 -0.0886)
OKLCHoklch(53.72% 0.103 239.4)
XYZxyz(13.8446, 15.8164, 36.9664)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A3 #A35628
analogous
#28A394 #2875A3 #2838A3
triadic
#2875A3 #A32875 #75A328
tetradic
#2875A3 #9428A3 #A35628 #38A328
square
#2875A3 #9428A3 #A35628 #38A328
split-complementary
#2875A3 #A32838 #A39428
monochromatic
#102E41 #1C5272 #2875A3 #3A97CF #6BB1DB

Accessibility & contrast

On white

5.04
#2875A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2875A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875A3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875A3#FFFFFF#000000##FFFFFF
##2875A31.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A5
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2875a3;
/* rgb */ color: rgb(40, 117, 163);
/* oklch */ color: oklch(53.7% 0.103 239.4);
Tailwind
colors: {
  custom: {
    50: '#749cbe',
    500: '#2875a3',
    950: '#000000',
  },
}
SCSS
$custom: #2875a3;
$custom-light: #749cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a3",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 163
  },
  "hsl": {
    "h": 202.439,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.10294,
    "h": 239.4
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#2875A3
secondary
#C18866
accent
#8044E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2875A3

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

Preview Lab → · Contrast checker → · Palette generator →

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