#2875AF#2875AF

#2875AF is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.4% C 0.117 H 245.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2875AF
RGBrgb(40, 117, 175)
HSLhsl(206, 63%, 42%)
HSVhsv(206, 77%, 69%)
CMYKcmyk(77.1%, 33.1%, 0%, 31.4%)
CIE-LABlab(47.32, -2.92, -37.44)
CIE-LCHlch(47.32, 37.56, 265.55°)
OKLaboklab(54.38% -0.0486 -0.1063)
OKLCHoklch(54.38% 0.117 245.4)
XYZxyz(14.9712, 16.2671, 42.8999)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875AF #AF6228
analogous
#28AFA6 #2875AF #2831AF
triadic
#2875AF #AF2875 #75AF28
tetradic
#2875AF #A628AF #AF6228 #31AF28
square
#2875AF #A628AF #AF6228 #31AF28
split-complementary
#2875AF #AF2831 #AFA628
monochromatic
#11324B #1D547D #2875AF #4194D4 #73B0DF

Accessibility & contrast

On white

4.94
#2875AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2875AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875AF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875AF#FFFFFF#000000##FFFFFF
##2875AF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B1
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#00838A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2875af;
/* rgb */ color: rgb(40, 117, 175);
/* oklch */ color: oklch(54.4% 0.117 245.4);
Tailwind
colors: {
  custom: {
    50: '#769cc7',
    500: '#2875af',
    950: '#000000',
  },
}
SCSS
$custom: #2875af;
$custom-light: #769cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2875af",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 175
  },
  "hsl": {
    "h": 205.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.11689,
    "h": 245.4
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#2875AF
secondary
#C6936D
accent
#8842E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2875AF

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

Preview Lab → · Contrast checker → · Palette generator →

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