#2F81AE#2F81AE

#2F81AE is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.4% C 0.104 H 236.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F81AE
RGBrgb(47, 129, 174)
HSLhsl(201, 57%, 43%)
HSVhsv(201, 73%, 68%)
CMYKcmyk(73%, 25.9%, 0%, 31.8%)
CIE-LABlab(51.10, -9.42, -30.92)
CIE-LCHlch(51.10, 32.32, 253.05°)
OKLaboklab(57.41% -0.0569 -0.0871)
OKLCHoklch(57.41% 0.104 236.9)
XYZxyz(16.6595, 19.3589, 42.8948)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81AE #AE5C2F
analogous
#2FAE9B #2F81AE #2F41AE
triadic
#2F81AE #AE2F81 #81AE2F
tetradic
#2F81AE #9B2FAE #AE5C2F #41AE2F
square
#2F81AE #9B2FAE #AE5C2F #41AE2F
split-complementary
#2F81AE #AE2F41 #AE9B2F
monochromatic
#153A4E #225D7E #2F81AE #4CA0CF #7CBADC

Accessibility & contrast

On white

4.31
#2F81AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F81AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81AE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81AE#FFFFFF#000000##000000
##2F81AE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C81B0
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#008D90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f81ae;
/* rgb */ color: rgb(47, 129, 174);
/* oklch */ color: oklch(57.4% 0.104 236.9);
Tailwind
colors: {
  custom: {
    50: '#78a5c6',
    500: '#2f81ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f81ae;
$custom-light: #78a5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81ae",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 174
  },
  "hsl": {
    "h": 201.26,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57412,
    "c": 0.10405,
    "h": 236.9
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#2F81AE
secondary
#C49175
accent
#7E47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F81AE

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

Preview Lab → · Contrast checker → · Palette generator →

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