#2F81AD#2F81AD

#2F81AD is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.4% C 0.103 H 236.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F81AD
RGBrgb(47, 129, 173)
HSLhsl(201, 57%, 43%)
HSVhsv(201, 73%, 68%)
CMYKcmyk(72.8%, 25.4%, 0%, 32.2%)
CIE-LABlab(51.06, -9.78, -30.41)
CIE-LCHlch(51.06, 31.94, 252.18°)
OKLaboklab(57.36% -0.0572 -0.0857)
OKLCHoklch(57.36% 0.103 236.3)
XYZxyz(16.5624, 19.3201, 42.3833)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81AD #AD5B2F
analogous
#2FAD9A #2F81AD #2F42AD
triadic
#2F81AD #AD2F81 #81AD2F
tetradic
#2F81AD #9A2FAD #AD5B2F #42AD2F
square
#2F81AD #9A2FAD #AD5B2F #42AD2F
split-complementary
#2F81AD #AD2F42 #AD9A2F
monochromatic
#15394D #225D7D #2F81AD #4BA0CE #7BBADB

Accessibility & contrast

On white

4.32
#2F81AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2F81AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81AD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81AD#FFFFFF#000000##000000
##2F81AD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AF
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f81ad;
/* rgb */ color: rgb(47, 129, 173);
/* oklch */ color: oklch(57.4% 0.103 236.3);
Tailwind
colors: {
  custom: {
    50: '#78a5c5',
    500: '#2f81ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f81ad;
$custom-light: #78a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81ad",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 173
  },
  "hsl": {
    "h": 200.952,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.10301,
    "h": 236.3
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#2F81AD
secondary
#C49074
accent
#7D47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F81AD

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

Preview Lab → · Contrast checker → · Palette generator →

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