#2E87AD#2E87AD

#2E87AD is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.100 H 230.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2E87AD
RGBrgb(46, 135, 173)
HSLhsl(198, 58%, 43%)
HSVhsv(198, 73%, 68%)
CMYKcmyk(73.4%, 22%, 0%, 32.2%)
CIE-LABlab(52.87, -13.31, -27.60)
CIE-LCHlch(52.87, 30.64, 244.26°)
OKLaboklab(58.79% -0.0638 -0.0775)
OKLCHoklch(58.79% 0.1 230.6)
XYZxyz(17.3305, 20.9239, 42.6524)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87AD #AD542E
analogous
#2EAD93 #2E87AD #2E47AD
triadic
#2E87AD #AD2E87 #87AD2E
tetradic
#2E87AD #932EAD #AD542E #47AD2E
square
#2E87AD #932EAD #AD542E #47AD2E
split-complementary
#2E87AD #AD2E47 #AD932E
monochromatic
#143C4C #21617D #2E87AD #49A7CF #7ABEDC

Accessibility & contrast

On white

4.05
#2E87AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2E87AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87AD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87AD#FFFFFF#000000##000000
##2E87AD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AF
Deuteranopia (green-blind)
#6279AC
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e87ad;
/* rgb */ color: rgb(46, 135, 173);
/* oklch */ color: oklch(58.8% 0.100 230.6);
Tailwind
colors: {
  custom: {
    50: '#78aac5',
    500: '#2e87ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e87ad;
$custom-light: #78aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87ad",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 197.953,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.10039,
    "h": 230.6
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#2E87AD
secondary
#C48B73
accent
#7547E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2E87AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva