#2D81BB#2D81BB

#2D81BB is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.0% C 0.119 H 243.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2D81BB
RGBrgb(45, 129, 187)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 73%)
CMYKcmyk(75.9%, 31%, 0%, 26.7%)
CIE-LABlab(51.66, -5.05, -37.53)
CIE-LCHlch(51.66, 37.87, 262.34°)
OKLaboklab(58.04% -0.0537 -0.1064)
OKLCHoklch(58.04% 0.119 243.2)
XYZxyz(17.8986, 19.8442, 49.8911)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D81BB #BB672D
analogous
#2DBBAE #2D81BB #2D3ABB
triadic
#2D81BB #BB2D81 #81BB2D
tetradic
#2D81BB #AE2DBB #BB672D #3ABB2D
square
#2D81BB #AE2DBB #BB672D #3ABB2D
split-complementary
#2D81BB #BB2D3A #BBAE2D
monochromatic
#153D58 #215F8A #2D81BB #509FD5 #82BAE1

Accessibility & contrast

On white

4.23
#2D81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2D81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D81BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D81BB#FFFFFF#000000##000000
##2D81BB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d81bb;
/* rgb */ color: rgb(45, 129, 187);
/* oklch */ color: oklch(58.0% 0.119 243.2);
Tailwind
colors: {
  custom: {
    50: '#7aa5cf',
    500: '#2d81bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d81bb;
$custom-light: #7aa5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d81bb",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 204.507,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.11914,
    "h": 243.2
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#2D81BB
secondary
#CA9B7A
accent
#8543E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2D81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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