#2F81A3#2F81A3

#2F81A3 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.9% C 0.093 H 229.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F81A3
RGBrgb(47, 129, 163)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 64%)
CMYKcmyk(71.2%, 20.9%, 0%, 36.1%)
CIE-LABlab(50.63, -13.24, -25.29)
CIE-LCHlch(50.63, 28.55, 242.36°)
OKLaboklab(56.87% -0.0608 -0.0709)
OKLCHoklch(56.87% 0.093 229.4)
XYZxyz(15.6308, 18.9474, 37.4767)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81A3 #A3512F
analogous
#2FA38B #2F81A3 #2F47A3
triadic
#2F81A3 #A32F81 #81A32F
tetradic
#2F81A3 #8B2FA3 #A3512F #47A32F
square
#2F81A3 #8B2FA3 #A3512F #47A32F
split-complementary
#2F81A3 #A32F47 #A38B2F
monochromatic
#143644 #215B73 #2F81A3 #46A3CA #75BAD7

Accessibility & contrast

On white

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

On black

4.79
#2F81A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81A3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81A3#FFFFFF#000000##000000
##2F81A31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA5
Deuteranopia (green-blind)
#6073A3
Tritanopia (blue-blind)
#008B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f81a3;
/* rgb */ color: rgb(47, 129, 163);
/* oklch */ color: oklch(56.9% 0.093 229.4);
Tailwind
colors: {
  custom: {
    50: '#77a5be',
    500: '#2f81a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f81a3;
$custom-light: #77a5be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81a3",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 163
  },
  "hsl": {
    "h": 197.586,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.09343,
    "h": 229.4
  },
  "luminance": 0.18949
}

Semantic roles & 50–950 ramp

primary
#2F81A3
secondary
#BF866F
accent
#7549DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F81A3

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

Preview Lab → · Contrast checker → · Palette generator →

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