#2875AC#2875AC

#2875AC is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.2% C 0.113 H 244.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2875AC
RGBrgb(40, 117, 172)
HSLhsl(205, 62%, 42%)
HSVhsv(205, 77%, 67%)
CMYKcmyk(76.7%, 32%, 0%, 32.5%)
CIE-LABlab(47.17, -4.02, -35.94)
CIE-LCHlch(47.17, 36.16, 263.61°)
OKLaboklab(54.21% -0.0495 -0.1019)
OKLCHoklch(54.21% 0.113 244.1)
XYZxyz(14.6799, 16.1505, 41.3654)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875AC #AC5F28
analogous
#28ACA1 #2875AC #2833AC
triadic
#2875AC #AC2875 #75AC28
tetradic
#2875AC #A128AC #AC5F28 #33AC28
square
#2875AC #A128AC #AC5F28 #33AC28
split-complementary
#2875AC #AC2833 #ACA128
monochromatic
#113149 #1C537A #2875AC #3F95D2 #71B0DE

Accessibility & contrast

On white

4.96
#2875AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2875AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875AC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875AC#FFFFFF#000000##FFFFFF
##2875AC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AE
Deuteranopia (green-blind)
#496AAB
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2875ac;
/* rgb */ color: rgb(40, 117, 172);
/* oklch */ color: oklch(54.2% 0.113 244.1);
Tailwind
colors: {
  custom: {
    50: '#759cc5',
    500: '#2875ac',
    950: '#000000',
  },
}
SCSS
$custom: #2875ac;
$custom-light: #759cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2875ac",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 172
  },
  "hsl": {
    "h": 205,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.1133,
    "h": 244.1
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#2875AC
secondary
#C5906B
accent
#8642E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2875AC

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

Preview Lab → · Contrast checker → · Palette generator →

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