#2F81BF#2F81BF

#2F81BF is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.3% C 0.123 H 245.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F81BF
RGBrgb(47, 129, 191)
HSLhsl(206, 61%, 47%)
HSVhsv(206, 75%, 75%)
CMYKcmyk(75.4%, 32.5%, 0%, 25.1%)
CIE-LABlab(51.91, -3.35, -39.43)
CIE-LCHlch(51.91, 39.57, 265.14°)
OKLaboklab(58.32% -0.0514 -0.1119)
OKLCHoklch(58.32% 0.123 245.3)
XYZxyz(18.4229, 20.0643, 52.1820)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81BF #BF6D2F
analogous
#2FBFB5 #2F81BF #2F39BF
triadic
#2F81BF #BF2F81 #81BF2F
tetradic
#2F81BF #B52FBF #BF6D2F #39BF2F
square
#2F81BF #B52FBF #BF6D2F #39BF2F
split-complementary
#2F81BF #BF2F39 #BFB52F
monochromatic
#173F5D #23608E #2F81BF #569ED5 #87BAE1

Accessibility & contrast

On white

4.19
#2F81BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F81BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81BF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81BF#FFFFFF#000000##000000
##2F81BF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#5076BE
Tritanopia (blue-blind)
#009097
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f81bf;
/* rgb */ color: rgb(47, 129, 191);
/* oklch */ color: oklch(58.3% 0.123 245.3);
Tailwind
colors: {
  custom: {
    50: '#7ba5d2',
    500: '#2f81bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f81bf;
$custom-light: #7ba5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81bf",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 205.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.12312,
    "h": 245.3
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#2F81BF
secondary
#CBA07F
accent
#8944E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F81BF

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

Preview Lab → · Contrast checker → · Palette generator →

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