#2D81A2#2D81A2

#2D81A2 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.8% C 0.093 H 228.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D81A2
RGBrgb(45, 129, 162)
HSLhsl(197, 57%, 41%)
HSVhsv(197, 72%, 64%)
CMYKcmyk(72.2%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.53, -13.88, -24.86)
CIE-LCHlch(50.53, 28.47, 240.83°)
OKLaboklab(56.77% -0.0623 -0.0697)
OKLCHoklch(56.77% 0.093 228.2)
XYZxyz(15.4514, 18.8653, 37.0024)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D81A2 #A24E2D
analogous
#2DA288 #2D81A2 #2D46A2
triadic
#2D81A2 #A22D81 #81A22D
tetradic
#2D81A2 #882DA2 #A24E2D #46A22D
square
#2D81A2 #882DA2 #A24E2D #46A22D
split-complementary
#2D81A2 #A22D46 #A2882D
monochromatic
#123542 #205B72 #2D81A2 #42A4CA #72BBD8

Accessibility & contrast

On white

4.40
#2D81A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D81A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D81A2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D81A2#FFFFFF#000000##000000
##2D81A21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d81a2;
/* rgb */ color: rgb(45, 129, 162);
/* oklch */ color: oklch(56.8% 0.093 228.2);
Tailwind
colors: {
  custom: {
    50: '#76a5bd',
    500: '#2d81a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d81a2;
$custom-light: #76a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d81a2",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 196.923,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.09348,
    "h": 228.2
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#2D81A2
secondary
#BF836C
accent
#7348E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D81A2

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

Preview Lab → · Contrast checker → · Palette generator →

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