#2875A9#2875A9

#2875A9 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.110 H 242.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2875A9
RGBrgb(40, 117, 169)
HSLhsl(204, 62%, 41%)
HSVhsv(204, 76%, 66%)
CMYKcmyk(76.3%, 30.8%, 0%, 33.7%)
CIE-LABlab(47.02, -5.13, -34.42)
CIE-LCHlch(47.02, 34.80, 261.52°)
OKLaboklab(54.05% -0.0504 -0.0975)
OKLCHoklch(54.05% 0.11 242.6)
XYZxyz(14.3950, 16.0366, 39.8651)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A9 #A95C28
analogous
#28A99C #2875A9 #2835A9
triadic
#2875A9 #A92875 #75A928
tetradic
#2875A9 #9C28A9 #A95C28 #35A928
square
#2875A9 #9C28A9 #A95C28 #35A928
split-complementary
#2875A9 #A92835 #A99C28
monochromatic
#113046 #1C5378 #2875A9 #3D95D1 #6FB0DD

Accessibility & contrast

On white

4.99
#2875A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2875A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875A9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875A9#FFFFFF#000000##FFFFFF
##2875A91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D76AB
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#008287
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2875a9;
/* rgb */ color: rgb(40, 117, 169);
/* oklch */ color: oklch(54.0% 0.110 242.6);
Tailwind
colors: {
  custom: {
    50: '#759cc3',
    500: '#2875a9',
    950: '#000000',
  },
}
SCSS
$custom: #2875a9;
$custom-light: #759cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a9",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 169
  },
  "hsl": {
    "h": 204.186,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.10977,
    "h": 242.6
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#2875A9
secondary
#C48E69
accent
#8443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2875A9

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

Preview Lab → · Contrast checker → · Palette generator →

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