#2875A4#2875A4

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

Color values

HEX#2875A4
RGBrgb(40, 117, 164)
HSLhsl(203, 61%, 40%)
HSVhsv(203, 76%, 64%)
CMYKcmyk(75.6%, 28.7%, 0%, 35.7%)
CIE-LABlab(46.78, -6.96, -31.87)
CIE-LCHlch(46.78, 32.63, 257.69°)
OKLaboklab(53.77% -0.0521 -0.0901)
OKLCHoklch(53.77% 0.104 240)
XYZxyz(13.9346, 15.8524, 37.4402)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A4 #A45728
analogous
#28A495 #2875A4 #2837A4
triadic
#2875A4 #A42875 #75A428
tetradic
#2875A4 #9528A4 #A45728 #37A428
square
#2875A4 #9528A4 #A45728 #37A428
split-complementary
#2875A4 #A42837 #A49528
monochromatic
#102F42 #1C5273 #2875A4 #3A97CF #6BB1DB

Accessibility & contrast

On white

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

On black

4.17
#2875A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2875A4#FFFFFF#000000##FFFFFF
##2875A41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2875a4;
/* rgb */ color: rgb(40, 117, 164);
/* oklch */ color: oklch(53.8% 0.104 240.0);
Tailwind
colors: {
  custom: {
    50: '#749cbf',
    500: '#2875a4',
    950: '#000000',
  },
}
SCSS
$custom: #2875a4;
$custom-light: #749cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a4",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 164
  },
  "hsl": {
    "h": 202.742,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.10405,
    "h": 240
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2875A4

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

Preview Lab → · Contrast checker → · Palette generator →

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