#2E81A6#2E81A6

#2E81A6 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.0% C 0.097 H 231.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2E81A6
RGBrgb(46, 129, 166)
HSLhsl(199, 57%, 42%)
HSVhsv(199, 72%, 65%)
CMYKcmyk(72.3%, 22.3%, 0%, 34.9%)
CIE-LABlab(50.73, -12.36, -26.88)
CIE-LCHlch(50.73, 29.58, 245.31°)
OKLaboklab(56.99% -0.0603 -0.0755)
OKLCHoklch(56.99% 0.097 231.4)
XYZxyz(15.8572, 19.0327, 38.9070)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81A6 #A6532E
analogous
#2EA68F #2E81A6 #2E45A6
triadic
#2E81A6 #A62E81 #81A62E
tetradic
#2E81A6 #8F2EA6 #A6532E #45A62E
square
#2E81A6 #8F2EA6 #A6532E #45A62E
split-complementary
#2E81A6 #A62E45 #A68F2E
monochromatic
#133746 #215C76 #2E81A6 #46A2CC #76BAD9

Accessibility & contrast

On white

4.37
#2E81A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2E81A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81A6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81A6#FFFFFF#000000##000000
##2E81A61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7FA8
Deuteranopia (green-blind)
#5E74A5
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e81a6;
/* rgb */ color: rgb(46, 129, 166);
/* oklch */ color: oklch(57.0% 0.097 231.4);
Tailwind
colors: {
  custom: {
    50: '#77a5c0',
    500: '#2e81a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e81a6;
$custom-light: #77a5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81a6",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 166
  },
  "hsl": {
    "h": 198.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.09659,
    "h": 231.4
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#2E81A6
secondary
#C1886F
accent
#7748E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E81A6

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

Preview Lab → · Contrast checker → · Palette generator →

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