#2D81B8#2D81B8

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

Color values

HEX#2D81B8
RGBrgb(45, 129, 184)
HSLhsl(204, 61%, 45%)
HSVhsv(204, 76%, 72%)
CMYKcmyk(75.5%, 29.9%, 0%, 27.8%)
CIE-LABlab(51.52, -6.13, -36.04)
CIE-LCHlch(51.52, 36.56, 260.35°)
OKLaboklab(57.88% -0.0546 -0.102)
OKLCHoklch(57.88% 0.116 241.8)
XYZxyz(17.5808, 19.7170, 48.2173)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D81B8 #B8642D
analogous
#2DB8AA #2D81B8 #2D3BB8
triadic
#2D81B8 #B82D81 #81B82D
tetradic
#2D81B8 #AA2DB8 #B8642D #3BB82D
square
#2D81B8 #AA2DB8 #B8642D #3BB82D
split-complementary
#2D81B8 #B82D3B #B8AA2D
monochromatic
#153C56 #215F87 #2D81B8 #4E9FD4 #80BAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D81B8#FFFFFF#000000##000000
##2D81B81.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: #2d81b8;
/* rgb */ color: rgb(45, 129, 184);
/* oklch */ color: oklch(57.9% 0.116 241.8);
Tailwind
colors: {
  custom: {
    50: '#79a5cd',
    500: '#2d81b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d81b8;
$custom-light: #79a5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d81b8",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 184
  },
  "hsl": {
    "h": 203.741,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.11572,
    "h": 241.8
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#2D81B8
secondary
#C99878
accent
#8344E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D81B8

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

Preview Lab → · Contrast checker → · Palette generator →

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