#2875C5#2875C5

#2875C5 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.7% C 0.144 H 252.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2875C5
RGBrgb(40, 117, 197)
HSLhsl(211, 66%, 46%)
HSVhsv(211, 80%, 77%)
CMYKcmyk(79.7%, 40.6%, 0%, 22.7%)
CIE-LABlab(48.51, 5.34, -48.26)
CIE-LCHlch(48.51, 48.56, 276.31°)
OKLaboklab(55.7% -0.0428 -0.138)
OKLCHoklch(55.7% 0.144 252.8)
XYZxyz(17.3106, 17.2028, 55.2206)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875C5 #C57828
analogous
#28C4C5 #2875C5 #2928C5
triadic
#2875C5 #C52875 #75C528
tetradic
#2875C5 #C528C4 #C57828 #28C529
square
#2875C5 #C528C4 #C57828 #28C529
split-complementary
#2875C5 #C52928 #C4C528
monochromatic
#13395F #1E5792 #2875C5 #4F94DB #82B3E6

Accessibility & contrast

On white

4.73
#2875C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2875C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875C5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875C5#FFFFFF#000000##FFFFFF
##2875C51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#336DC3
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2875c5;
/* rgb */ color: rgb(40, 117, 197);
/* oklch */ color: oklch(55.7% 0.144 252.8);
Tailwind
colors: {
  custom: {
    50: '#7a9cd7',
    500: '#2875c5',
    950: '#000000',
  },
}
SCSS
$custom: #2875c5;
$custom-light: #7a9cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2875c5",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 197
  },
  "hsl": {
    "h": 210.573,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.14448,
    "h": 252.8
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#2875C5
secondary
#CEA57A
accent
#963FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2875C5

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

Preview Lab → · Contrast checker → · Palette generator →

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