#2E87AF#2E87AF

#2E87AF is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.102 H 231.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2E87AF
RGBrgb(46, 135, 175)
HSLhsl(199, 58%, 43%)
HSVhsv(199, 74%, 69%)
CMYKcmyk(73.7%, 22.9%, 0%, 31.4%)
CIE-LABlab(52.95, -12.62, -28.62)
CIE-LCHlch(52.95, 31.28, 246.21°)
OKLaboklab(58.89% -0.063 -0.0805)
OKLCHoklch(58.89% 0.102 231.9)
XYZxyz(17.5254, 21.0019, 43.6793)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87AF #AF562E
analogous
#2EAF96 #2E87AF #2E46AF
triadic
#2E87AF #AF2E87 #87AF2E
tetradic
#2E87AF #962EAF #AF562E #46AF2E
square
#2E87AF #962EAF #AF562E #46AF2E
split-complementary
#2E87AF #AF2E46 #AF962E
monochromatic
#153C4E #21627F #2E87AF #4BA6D0 #7BBEDC

Accessibility & contrast

On white

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

On black

5.20
#2E87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87AF#FFFFFF#000000##000000
##2E87AF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e87af;
/* rgb */ color: rgb(46, 135, 175);
/* oklch */ color: oklch(58.9% 0.102 231.9);
Tailwind
colors: {
  custom: {
    50: '#79aac7',
    500: '#2e87af',
    950: '#000000',
  },
}
SCSS
$custom: #2e87af;
$custom-light: #79aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87af",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 198.605,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.10222,
    "h": 231.9
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#2E87AF
secondary
#C58D74
accent
#7646E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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