#2875B1#2875B1

#2875B1 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.119 H 246.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2875B1
RGBrgb(40, 117, 177)
HSLhsl(206, 63%, 43%)
HSVhsv(206, 77%, 69%)
CMYKcmyk(77.4%, 33.9%, 0%, 30.6%)
CIE-LABlab(47.43, -2.17, -38.44)
CIE-LCHlch(47.43, 38.51, 266.77°)
OKLaboklab(54.5% -0.048 -0.1092)
OKLCHoklch(54.5% 0.119 246.3)
XYZxyz(15.1691, 16.3462, 43.9421)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875B1 #B16428
analogous
#28B1A8 #2875B1 #2831B1
triadic
#2875B1 #B12875 #75B128
tetradic
#2875B1 #A828B1 #B16428 #31B128
square
#2875B1 #A828B1 #B16428 #31B128
split-complementary
#2875B1 #B12831 #B1A828
monochromatic
#11334D #1D547F #2875B1 #4294D4 #74B0E0

Accessibility & contrast

On white

4.92
#2875B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2875B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875B1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875B1#FFFFFF#000000##FFFFFF
##2875B11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5977B4
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2875b1;
/* rgb */ color: rgb(40, 117, 177);
/* oklch */ color: oklch(54.5% 0.119 246.3);
Tailwind
colors: {
  custom: {
    50: '#769cc8',
    500: '#2875b1',
    950: '#000000',
  },
}
SCSS
$custom: #2875b1;
$custom-light: #769cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2875b1",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 177
  },
  "hsl": {
    "h": 206.277,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.11931,
    "h": 246.3
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#2875B1
secondary
#C7956E
accent
#8A42E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2875B1

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

Preview Lab → · Contrast checker → · Palette generator →

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