#2873A3#2873A3

#2873A3 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.2% C 0.104 H 241.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2873A3
RGBrgb(40, 115, 163)
HSLhsl(203, 61%, 40%)
HSVhsv(203, 75%, 64%)
CMYKcmyk(75.5%, 29.4%, 0%, 36.1%)
CIE-LABlab(46.12, -6.14, -32.33)
CIE-LCHlch(46.12, 32.91, 259.25°)
OKLaboklab(53.23% -0.0504 -0.0914)
OKLCHoklch(53.23% 0.104 241.1)
XYZxyz(13.6141, 15.3553, 36.8896)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A3 #A35828
analogous
#28A396 #2873A3 #2835A3
triadic
#2873A3 #A32873 #73A328
tetradic
#2873A3 #9628A3 #A35828 #35A328
square
#2873A3 #9628A3 #A35828 #35A328
split-complementary
#2873A3 #A32835 #A39628
monochromatic
#102E41 #1C5072 #2873A3 #3A94CF #6BAFDB

Accessibility & contrast

On white

5.16
#2873A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2873A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873A3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873A3#FFFFFF#000000##FFFFFF
##2873A31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A5
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2873a3;
/* rgb */ color: rgb(40, 115, 163);
/* oklch */ color: oklch(53.2% 0.104 241.1);
Tailwind
colors: {
  custom: {
    50: '#739bbe',
    500: '#2873a3',
    950: '#000000',
  },
}
SCSS
$custom: #2873a3;
$custom-light: #739bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a3",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 163
  },
  "hsl": {
    "h": 203.415,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.10441,
    "h": 241.1
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#2873A3
secondary
#C18966
accent
#8244E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2873A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva