#2E81B4#2E81B4

#2E81B4 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.111 H 240.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2E81B4
RGBrgb(46, 129, 180)
HSLhsl(203, 59%, 44%)
HSVhsv(203, 74%, 71%)
CMYKcmyk(74.4%, 28.3%, 0%, 29.4%)
CIE-LABlab(51.35, -7.44, -33.99)
CIE-LCHlch(51.35, 34.79, 257.66°)
OKLaboklab(57.69% -0.0554 -0.096)
OKLCHoklch(57.69% 0.111 240)
XYZxyz(17.2120, 19.5747, 46.0423)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81B4 #B4612E
analogous
#2EB4A4 #2E81B4 #2E3EB4
triadic
#2E81B4 #B42E81 #81B42E
tetradic
#2E81B4 #A42EB4 #B4612E #3EB42E
square
#2E81B4 #A42EB4 #B4612E #3EB42E
split-complementary
#2E81B4 #B42E3E #B4A42E
monochromatic
#153B53 #225E83 #2E81B4 #4E9FD2 #7EBADE

Accessibility & contrast

On white

4.27
#2E81B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2E81B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81B4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81B4#FFFFFF#000000##000000
##2E81B41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B6
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e81b4;
/* rgb */ color: rgb(46, 129, 180);
/* oklch */ color: oklch(57.7% 0.111 240.0);
Tailwind
colors: {
  custom: {
    50: '#79a5ca',
    500: '#2e81b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e81b4;
$custom-light: #79a5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81b4",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 180
  },
  "hsl": {
    "h": 202.836,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57693,
    "c": 0.11088,
    "h": 240
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#2E81B4
secondary
#C79577
accent
#8145E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E81B4

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

Preview Lab → · Contrast checker → · Palette generator →

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