#2F81A4#2F81A4

#2F81A4 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 56.9% C 0.094 H 230.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F81A4
RGBrgb(47, 129, 164)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 64%)
CMYKcmyk(71.3%, 21.3%, 0%, 35.7%)
CIE-LABlab(50.67, -12.90, -25.81)
CIE-LCHlch(50.67, 28.85, 243.44°)
OKLaboklab(56.92% -0.0605 -0.0724)
OKLCHoklch(56.92% 0.094 230.1)
XYZxyz(15.7207, 18.9834, 37.9504)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81A4 #A4522F
analogous
#2FA48D #2F81A4 #2F47A4
triadic
#2F81A4 #A42F81 #81A42F
tetradic
#2F81A4 #8D2FA4 #A4522F #47A42F
square
#2F81A4 #8D2FA4 #A4522F #47A42F
split-complementary
#2F81A4 #A42F47 #A48D2F
monochromatic
#143645 #215C74 #2F81A4 #46A3CA #76BAD8

Accessibility & contrast

On white

4.38
#2F81A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F81A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81A4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81A4#FFFFFF#000000##000000
##2F81A41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA6
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f81a4;
/* rgb */ color: rgb(47, 129, 164);
/* oklch */ color: oklch(56.9% 0.094 230.1);
Tailwind
colors: {
  custom: {
    50: '#77a5bf',
    500: '#2f81a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f81a4;
$custom-light: #77a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81a4",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 164
  },
  "hsl": {
    "h": 197.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.09432,
    "h": 230.1
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#2F81A4
secondary
#C0876F
accent
#7649DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F81A4

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

Preview Lab → · Contrast checker → · Palette generator →

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