#2E87A4#2E87A4

#2E87A4 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.093 H 223.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2E87A4
RGBrgb(46, 135, 164)
HSLhsl(195, 56%, 41%)
HSVhsv(195, 72%, 64%)
CMYKcmyk(72%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.49, -16.38, -22.99)
CIE-LCHlch(52.49, 28.22, 234.54°)
OKLaboklab(58.37% -0.0672 -0.0643)
OKLCHoklch(58.37% 0.093 223.7)
XYZxyz(16.4888, 20.5872, 38.2195)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87A4 #A44B2E
analogous
#2EA486 #2E87A4 #2E4CA4
triadic
#2E87A4 #A42E87 #87A42E
tetradic
#2E87A4 #862EA4 #A44B2E #4CA42E
square
#2E87A4 #862EA4 #A44B2E #4CA42E
split-complementary
#2E87A4 #A42E4C #A4862E
monochromatic
#133844 #216074 #2E87A4 #45AACB #74C0D8

Accessibility & contrast

On white

4.10
#2E87A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2E87A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87A4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87A4#FFFFFF#000000##000000
##2E87A41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A5
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e87a4;
/* rgb */ color: rgb(46, 135, 164);
/* oklch */ color: oklch(58.4% 0.093 223.7);
Tailwind
colors: {
  custom: {
    50: '#77aabf',
    500: '#2e87a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e87a4;
$custom-light: #77aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87a4",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 194.746,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.09301,
    "h": 223.7
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#2E87A4
secondary
#C0826E
accent
#6D48DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E87A4

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

Preview Lab → · Contrast checker → · Palette generator →

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