#2E87A2#2E87A2

#2E87A2 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.092 H 222.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2E87A2
RGBrgb(46, 135, 162)
HSLhsl(194, 56%, 41%)
HSVhsv(194, 72%, 64%)
CMYKcmyk(71.6%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.42, -17.05, -21.95)
CIE-LCHlch(52.42, 27.80, 232.17°)
OKLaboklab(58.28% -0.068 -0.0613)
OKLCHoklch(58.28% 0.092 222.1)
XYZxyz(16.3096, 20.5156, 37.2758)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87A2 #A2492E
analogous
#2EA283 #2E87A2 #2E4DA2
triadic
#2E87A2 #A22E87 #87A22E
tetradic
#2E87A2 #832EA2 #A2492E #4DA22E
square
#2E87A2 #832EA2 #A2492E #4DA22E
split-complementary
#2E87A2 #A22E4D #A2832E
monochromatic
#133843 #205F72 #2E87A2 #43AACA #73C0D7

Accessibility & contrast

On white

4.11
#2E87A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2E87A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87A2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87A2#FFFFFF#000000##000000
##2E87A21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A3
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e87a2;
/* rgb */ color: rgb(46, 135, 162);
/* oklch */ color: oklch(58.3% 0.092 222.1);
Tailwind
colors: {
  custom: {
    50: '#77aabd',
    500: '#2e87a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e87a2;
$custom-light: #77aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87a2",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 193.966,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.09158,
    "h": 222.1
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#2E87A2
secondary
#BF806D
accent
#6C49DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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