#2D81AB#2D81AB

#2D81AB is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.102 H 234.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D81AB
RGBrgb(45, 129, 171)
HSLhsl(200, 58%, 42%)
HSVhsv(200, 74%, 67%)
CMYKcmyk(73.7%, 24.6%, 0%, 32.9%)
CIE-LABlab(50.92, -10.75, -29.48)
CIE-LCHlch(50.92, 31.38, 249.96°)
OKLaboklab(57.2% -0.059 -0.083)
OKLCHoklch(57.2% 0.102 234.6)
XYZxyz(16.2802, 19.1968, 41.3675)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D81AB #AB572D
analogous
#2DAB96 #2D81AB #2D42AB
triadic
#2D81AB #AB2D81 #81AB2D
tetradic
#2D81AB #962DAB #AB572D #42AB2D
square
#2D81AB #962DAB #AB572D #42AB2D
split-complementary
#2D81AB #AB2D42 #AB962D
monochromatic
#14384A #205C7B #2D81AB #47A1CE #77BADB

Accessibility & contrast

On white

4.34
#2D81AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2D81AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D81AB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D81AB#FFFFFF#000000##000000
##2D81AB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#5B74AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d81ab;
/* rgb */ color: rgb(45, 129, 171);
/* oklch */ color: oklch(57.2% 0.102 234.6);
Tailwind
colors: {
  custom: {
    50: '#77a5c4',
    500: '#2d81ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d81ab;
$custom-light: #77a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d81ab",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 200,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.10182,
    "h": 234.6
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#2D81AB
secondary
#C38C71
accent
#7A46E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D81AB

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

Preview Lab → · Contrast checker → · Palette generator →

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