#2E81B8#2E81B8

#2E81B8 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.9% C 0.115 H 242.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2E81B8
RGBrgb(46, 129, 184)
HSLhsl(204, 60%, 45%)
HSVhsv(204, 75%, 72%)
CMYKcmyk(75%, 29.9%, 0%, 27.8%)
CIE-LABlab(51.54, -6.00, -35.99)
CIE-LCHlch(51.54, 36.49, 260.53°)
OKLaboklab(57.9% -0.0541 -0.1019)
OKLCHoklch(57.9% 0.115 242)
XYZxyz(17.6253, 19.7400, 48.2194)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81B8 #B8652E
analogous
#2EB8AA #2E81B8 #2E3CB8
triadic
#2E81B8 #B82E81 #81B82E
tetradic
#2E81B8 #AA2EB8 #B8652E #3CB82E
square
#2E81B8 #AA2EB8 #B8652E #3CB82E
split-complementary
#2E81B8 #B82E3C #B8AA2E
monochromatic
#163C56 #225F87 #2E81B8 #509FD3 #81BADF

Accessibility & contrast

On white

4.24
#2E81B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2E81B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81B8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81B8#FFFFFF#000000##000000
##2E81B81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882BA
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#008F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e81b8;
/* rgb */ color: rgb(46, 129, 184);
/* oklch */ color: oklch(57.9% 0.115 242.0);
Tailwind
colors: {
  custom: {
    50: '#7aa5cd',
    500: '#2e81b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e81b8;
$custom-light: #7aa5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81b8",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 184
  },
  "hsl": {
    "h": 203.913,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.11534,
    "h": 242
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#2E81B8
secondary
#C89979
accent
#8445E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E81B8

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

Preview Lab → · Contrast checker → · Palette generator →

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