#2D81C4#2D81C4

#2D81C4 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.5% C 0.130 H 246.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D81C4
RGBrgb(45, 129, 196)
HSLhsl(207, 63%, 47%)
HSVhsv(207, 77%, 77%)
CMYKcmyk(77%, 34.2%, 0%, 23.1%)
CIE-LABlab(52.11, -1.77, -41.97)
CIE-LCHlch(52.11, 42.01, 267.58°)
OKLaboklab(58.54% -0.051 -0.1193)
OKLCHoklch(58.54% 0.13 246.8)
XYZxyz(18.8924, 20.2417, 55.1252)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D81C4 #C4702D
analogous
#2DC4BC #2D81C4 #2D35C4
triadic
#2D81C4 #C42D81 #81C42D
tetradic
#2D81C4 #BC2DC4 #C4702D #35C42D
square
#2D81C4 #BC2DC4 #C4702D #35C42D
split-complementary
#2D81C4 #C42D35 #C4BC2D
monochromatic
#163F60 #226092 #2D81C4 #569ED8 #88BBE4

Accessibility & contrast

On white

4.16
#2D81C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2D81C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D81C4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D81C4#FFFFFF#000000##000000
##2D81C41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C7
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#009199
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d81c4;
/* rgb */ color: rgb(45, 129, 196);
/* oklch */ color: oklch(58.5% 0.130 246.8);
Tailwind
colors: {
  custom: {
    50: '#7ca5d6',
    500: '#2d81c4',
    950: '#000000',
  },
}
SCSS
$custom: #2d81c4;
$custom-light: #7ca5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d81c4",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 196
  },
  "hsl": {
    "h": 206.623,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.12977,
    "h": 246.8
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#2D81C4
secondary
#CDA280
accent
#8B42E6
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2D81C4

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

Preview Lab → · Contrast checker → · Palette generator →

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