#2C81B8#2C81B8

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

Color values

HEX#2C81B8
RGBrgb(44, 129, 184)
HSLhsl(204, 61%, 45%)
HSVhsv(204, 76%, 72%)
CMYKcmyk(76.1%, 29.9%, 0%, 27.8%)
CIE-LABlab(51.49, -6.26, -36.08)
CIE-LCHlch(51.49, 36.62, 260.16°)
OKLaboklab(57.85% -0.0551 -0.1021)
OKLCHoklch(57.85% 0.116 241.6)
XYZxyz(17.5373, 19.6946, 48.2153)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81B8 #B8632C
analogous
#2CB8A9 #2C81B8 #2C3BB8
triadic
#2C81B8 #B82C81 #81B82C
tetradic
#2C81B8 #A92CB8 #B8632C #3BB82C
square
#2C81B8 #A92CB8 #B8632C #3BB82C
split-complementary
#2C81B8 #B82C3B #B8A92C
monochromatic
#143C55 #205E87 #2C81B8 #4D9FD4 #7EBAE0

Accessibility & contrast

On white

4.25
#2C81B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C81B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81B8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81B8#FFFFFF#000000##000000
##2C81B81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c81b8;
/* rgb */ color: rgb(44, 129, 184);
/* oklch */ color: oklch(57.8% 0.116 241.6);
Tailwind
colors: {
  custom: {
    50: '#79a5cd',
    500: '#2c81b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c81b8;
$custom-light: #79a5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81b8",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 184
  },
  "hsl": {
    "h": 203.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.11607,
    "h": 241.6
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#2C81B8
secondary
#C99777
accent
#8343E5
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C81B8

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

Preview Lab → · Contrast checker → · Palette generator →

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