#2875A8#2875A8

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

Color values

HEX#2875A8
RGBrgb(40, 117, 168)
HSLhsl(204, 62%, 41%)
HSVhsv(204, 76%, 66%)
CMYKcmyk(76.2%, 30.4%, 0%, 34.1%)
CIE-LABlab(46.97, -5.50, -33.91)
CIE-LCHlch(46.97, 34.35, 260.79°)
OKLaboklab(53.99% -0.0508 -0.096)
OKLCHoklch(53.99% 0.109 242.1)
XYZxyz(14.3015, 15.9992, 39.3726)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A8 #A85B28
analogous
#28A89B #2875A8 #2835A8
triadic
#2875A8 #A82875 #75A828
tetradic
#2875A8 #9B28A8 #A85B28 #35A828
square
#2875A8 #9B28A8 #A85B28 #35A828
split-complementary
#2875A8 #A82835 #A89B28
monochromatic
#103045 #1C5377 #2875A8 #3D96D1 #6EB0DC

Accessibility & contrast

On white

5.00
#2875A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2875A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875A8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875A8#FFFFFF#000000##FFFFFF
##2875A81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2875a8;
/* rgb */ color: rgb(40, 117, 168);
/* oklch */ color: oklch(54.0% 0.109 242.1);
Tailwind
colors: {
  custom: {
    50: '#749cc2',
    500: '#2875a8',
    950: '#000000',
  },
}
SCSS
$custom: #2875a8;
$custom-light: #749cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a8",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 168
  },
  "hsl": {
    "h": 203.906,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.1086,
    "h": 242.1
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#2875A8
secondary
#C38D69
accent
#8343E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2875A8

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

Preview Lab → · Contrast checker → · Palette generator →

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