#2875A1#2875A1

#2875A1 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.6% C 0.101 H 238.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2875A1
RGBrgb(40, 117, 161)
HSLhsl(202, 60%, 39%)
HSVhsv(202, 75%, 63%)
CMYKcmyk(75.2%, 27.3%, 0%, 36.9%)
CIE-LABlab(46.64, -8.05, -30.34)
CIE-LCHlch(46.64, 31.39, 255.15°)
OKLaboklab(53.62% -0.0531 -0.0856)
OKLCHoklch(53.62% 0.101 238.2)
XYZxyz(13.6669, 15.7453, 36.0302)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875A1 #A15428
analogous
#28A191 #2875A1 #2839A1
triadic
#2875A1 #A12875 #75A128
tetradic
#2875A1 #9128A1 #A15428 #39A128
square
#2875A1 #9128A1 #A15428 #39A128
split-complementary
#2875A1 #A12839 #A19128
monochromatic
#102E3F #1C5170 #2875A1 #3997CE #6AB1DA

Accessibility & contrast

On white

5.06
#2875A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2875A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875A1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875A1#FFFFFF#000000##FFFFFF
##2875A11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6075A3
Deuteranopia (green-blind)
#5069A0
Tritanopia (blue-blind)
#008084
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2875a1;
/* rgb */ color: rgb(40, 117, 161);
/* oklch */ color: oklch(53.6% 0.101 238.2);
Tailwind
colors: {
  custom: {
    50: '#739cbd',
    500: '#2875a1',
    950: '#000000',
  },
}
SCSS
$custom: #2875a1;
$custom-light: #739cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2875a1",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 161
  },
  "hsl": {
    "h": 201.818,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.10075,
    "h": 238.2
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#2875A1
secondary
#C08665
accent
#7E44E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2875A1

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

Preview Lab → · Contrast checker → · Palette generator →

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