#2D81B2#2D81B2

#2D81B2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.109 H 238.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2D81B2
RGBrgb(45, 129, 178)
HSLhsl(202, 60%, 44%)
HSVhsv(202, 75%, 70%)
CMYKcmyk(74.7%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.23, -8.28, -33.03)
CIE-LCHlch(51.23, 34.05, 255.93°)
OKLaboklab(57.56% -0.0566 -0.0933)
OKLCHoklch(57.56% 0.109 238.8)
XYZxyz(16.9652, 19.4708, 44.9750)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D81B2 #B25E2D
analogous
#2DB2A0 #2D81B2 #2D3FB2
triadic
#2D81B2 #B22D81 #81B22D
tetradic
#2D81B2 #A02DB2 #B25E2D #3FB22D
square
#2D81B2 #A02DB2 #B25E2D #3FB22D
split-complementary
#2D81B2 #B22D3F #B2A02D
monochromatic
#143A50 #215E81 #2D81B2 #4BA0D1 #7CBADE

Accessibility & contrast

On white

4.29
#2D81B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2D81B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D81B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D81B2#FFFFFF#000000##000000
##2D81B21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5874B1
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d81b2;
/* rgb */ color: rgb(45, 129, 178);
/* oklch */ color: oklch(57.6% 0.109 238.8);
Tailwind
colors: {
  custom: {
    50: '#78a5c9',
    500: '#2d81b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d81b2;
$custom-light: #78a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d81b2",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 202.105,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.10908,
    "h": 238.8
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#2D81B2
secondary
#C69375
accent
#7F45E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D81B2

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

Preview Lab → · Contrast checker → · Palette generator →

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