#2E81B6#2E81B6

#2E81B6 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.8% C 0.113 H 241.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2E81B6
RGBrgb(46, 129, 182)
HSLhsl(203, 60%, 45%)
HSVhsv(203, 75%, 71%)
CMYKcmyk(74.7%, 29.1%, 0%, 28.6%)
CIE-LABlab(51.45, -6.72, -34.99)
CIE-LCHlch(51.45, 35.63, 259.13°)
OKLaboklab(57.8% -0.0547 -0.099)
OKLCHoklch(57.8% 0.113 241.1)
XYZxyz(17.4172, 19.6567, 47.1231)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81B6 #B6632E
analogous
#2EB6A7 #2E81B6 #2E3DB6
triadic
#2E81B6 #B62E81 #81B62E
tetradic
#2E81B6 #A72EB6 #B6632E #3DB62E
square
#2E81B6 #A72EB6 #B6632E #3DB62E
split-complementary
#2E81B6 #B62E3D #B6A72E
monochromatic
#153C54 #225E85 #2E81B6 #4F9FD2 #80BADF

Accessibility & contrast

On white

4.26
#2E81B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2E81B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81B6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81B6#FFFFFF#000000##000000
##2E81B61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B8
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#008E94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e81b6;
/* rgb */ color: rgb(46, 129, 182);
/* oklch */ color: oklch(57.8% 0.113 241.1);
Tailwind
colors: {
  custom: {
    50: '#79a5cc',
    500: '#2e81b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e81b6;
$custom-light: #79a5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81b6",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 182
  },
  "hsl": {
    "h": 203.382,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.11309,
    "h": 241.1
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#2E81B6
secondary
#C89778
accent
#8245E3
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E81B6

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

Preview Lab → · Contrast checker → · Palette generator →

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