#2E87AE#2E87AE

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

Color values

HEX#2E87AE
RGBrgb(46, 135, 174)
HSLhsl(198, 58%, 43%)
HSVhsv(198, 74%, 68%)
CMYKcmyk(73.6%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.91, -12.97, -28.11)
CIE-LCHlch(52.91, 30.96, 245.24°)
OKLaboklab(58.84% -0.0634 -0.079)
OKLCHoklch(58.84% 0.101 231.2)
XYZxyz(17.4276, 20.9628, 43.1639)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87AE #AE552E
analogous
#2EAE95 #2E87AE #2E47AE
triadic
#2E87AE #AE2E87 #87AE2E
tetradic
#2E87AE #952EAE #AE552E #47AE2E
square
#2E87AE #952EAE #AE552E #47AE2E
split-complementary
#2E87AE #AE2E47 #AE952E
monochromatic
#143C4D #21617E #2E87AE #4AA7CF #7ABEDC

Accessibility & contrast

On white

4.04
#2E87AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E87AE#FFFFFF#000000##000000
##2E87AE1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e87ae;
/* rgb */ color: rgb(46, 135, 174);
/* oklch */ color: oklch(58.8% 0.101 231.2);
Tailwind
colors: {
  custom: {
    50: '#78aac6',
    500: '#2e87ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e87ae;
$custom-light: #78aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87ae",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 198.281,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.10131,
    "h": 231.2
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#2E87AE
secondary
#C48C74
accent
#7646E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87AE

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

Preview Lab → · Contrast checker → · Palette generator →

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