#2E87AA#2E87AA

#2E87AA is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.098 H 228.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E87AA
RGBrgb(46, 135, 170)
HSLhsl(197, 57%, 42%)
HSVhsv(197, 73%, 67%)
CMYKcmyk(72.9%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.74, -14.34, -26.07)
CIE-LCHlch(52.74, 29.75, 241.19°)
OKLaboklab(58.65% -0.0649 -0.0731)
OKLCHoklch(58.65% 0.098 228.4)
XYZxyz(17.0434, 20.8091, 41.1407)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87AA #AA512E
analogous
#2EAA8F #2E87AA #2E49AA
triadic
#2E87AA #AA2E87 #87AA2E
tetradic
#2E87AA #8F2EAA #AA512E #49AA2E
square
#2E87AA #8F2EAA #AA512E #49AA2E
split-complementary
#2E87AA #AA2E49 #AA8F2E
monochromatic
#143B4A #21617A #2E87AA #48A8CD #78BFDA

Accessibility & contrast

On white

4.07
#2E87AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2E87AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87AA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87AA#FFFFFF#000000##000000
##2E87AA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e87aa;
/* rgb */ color: rgb(46, 135, 170);
/* oklch */ color: oklch(58.7% 0.098 228.4);
Tailwind
colors: {
  custom: {
    50: '#78aac3',
    500: '#2e87aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e87aa;
$custom-light: #78aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87aa",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 196.935,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.09778,
    "h": 228.4
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#2E87AA
secondary
#C38871
accent
#7247E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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