#2875C4#2875C4

#2875C4 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.6% C 0.143 H 252.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2875C4
RGBrgb(40, 117, 196)
HSLhsl(210, 66%, 46%)
HSVhsv(210, 80%, 77%)
CMYKcmyk(79.6%, 40.3%, 0%, 23.1%)
CIE-LABlab(48.46, 4.96, -47.78)
CIE-LCHlch(48.46, 48.04, 275.93°)
OKLaboklab(55.64% -0.043 -0.1366)
OKLCHoklch(55.64% 0.143 252.5)
XYZxyz(17.1964, 17.1571, 54.6192)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875C4 #C47728
analogous
#28C3C4 #2875C4 #2928C4
triadic
#2875C4 #C42875 #75C428
tetradic
#2875C4 #C428C3 #C47728 #28C429
square
#2875C4 #C428C3 #C47728 #28C429
split-complementary
#2875C4 #C42928 #C3C428
monochromatic
#13385E #1E5791 #2875C4 #4E94DB #81B3E5

Accessibility & contrast

On white

4.74
#2875C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2875C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875C4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875C4#FFFFFF#000000##FFFFFF
##2875C41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#356DC2
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2875c4;
/* rgb */ color: rgb(40, 117, 196);
/* oklch */ color: oklch(55.6% 0.143 252.5);
Tailwind
colors: {
  custom: {
    50: '#7a9cd6',
    500: '#2875c4',
    950: '#000000',
  },
}
SCSS
$custom: #2875c4;
$custom-light: #7a9cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2875c4",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 196
  },
  "hsl": {
    "h": 210.385,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.1432,
    "h": 252.5
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#2875C4
secondary
#CEA47A
accent
#953FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2875C4

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

Preview Lab → · Contrast checker → · Palette generator →

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