#2875A2#2875A2

#2875A2 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.7% C 0.102 H 238.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2875A2
RGBrgb(40, 117, 162)
HSLhsl(202, 60%, 40%)
HSVhsv(202, 75%, 64%)
CMYKcmyk(75.3%, 27.8%, 0%, 36.5%)
CIE-LABlab(46.69, -7.68, -30.85)
CIE-LCHlch(46.69, 31.79, 256.01°)
OKLaboklab(53.67% -0.0527 -0.0871)
OKLCHoklch(53.67% 0.102 238.8)
XYZxyz(13.7554, 15.7807, 36.4964)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A2 #A25528
analogous
#28A292 #2875A2 #2838A2
triadic
#2875A2 #A22875 #75A228
tetradic
#2875A2 #9228A2 #A25528 #38A228
square
#2875A2 #9228A2 #A25528 #38A228
split-complementary
#2875A2 #A22838 #A29228
monochromatic
#102E40 #1C5271 #2875A2 #3997CE #6AB1DA

Accessibility & contrast

On white

5.05
#2875A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2875A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875A2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875A2#FFFFFF#000000##FFFFFF
##2875A21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#4F6AA1
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2875a2;
/* rgb */ color: rgb(40, 117, 162);
/* oklch */ color: oklch(53.7% 0.102 238.8);
Tailwind
colors: {
  custom: {
    50: '#739cbd',
    500: '#2875a2',
    950: '#000000',
  },
}
SCSS
$custom: #2875a2;
$custom-light: #739cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a2",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 162
  },
  "hsl": {
    "h": 202.131,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53667,
    "c": 0.10183,
    "h": 238.8
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#2875A2
secondary
#C18765
accent
#7F44E4
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2875A2

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

Preview Lab → · Contrast checker → · Palette generator →

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