#2875B2#2875B2

#2875B2 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.6% C 0.121 H 246.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2875B2
RGBrgb(40, 117, 178)
HSLhsl(207, 63%, 43%)
HSVhsv(207, 78%, 70%)
CMYKcmyk(77.5%, 34.3%, 0%, 30.2%)
CIE-LABlab(47.48, -1.80, -38.94)
CIE-LCHlch(47.48, 38.99, 267.35°)
OKLaboklab(54.55% -0.0477 -0.1107)
OKLCHoklch(54.55% 0.121 246.7)
XYZxyz(15.2692, 16.3862, 44.4690)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875B2 #B26528
analogous
#28B2AA #2875B2 #2830B2
triadic
#2875B2 #B22875 #75B228
tetradic
#2875B2 #AA28B2 #B26528 #30B228
square
#2875B2 #AA28B2 #B26528 #30B228
split-complementary
#2875B2 #B22830 #B2AA28
monochromatic
#12334E #1D5480 #2875B2 #4394D5 #75B0E0

Accessibility & contrast

On white

4.91
#2875B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2875B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875B2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875B2#FFFFFF#000000##FFFFFF
##2875B21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2875b2;
/* rgb */ color: rgb(40, 117, 178);
/* oklch */ color: oklch(54.6% 0.121 246.7);
Tailwind
colors: {
  custom: {
    50: '#769cc9',
    500: '#2875b2',
    950: '#000000',
  },
}
SCSS
$custom: #2875b2;
$custom-light: #769cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2875b2",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 178
  },
  "hsl": {
    "h": 206.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.12053,
    "h": 246.7
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#2875B2
secondary
#C7966F
accent
#8A41E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2875B2

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

Preview Lab → · Contrast checker → · Palette generator →

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