#2F81BE#2F81BE

#2F81BE is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.3% C 0.122 H 244.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F81BE
RGBrgb(47, 129, 190)
HSLhsl(206, 60%, 46%)
HSVhsv(206, 75%, 75%)
CMYKcmyk(75.3%, 32.1%, 0%, 25.5%)
CIE-LABlab(51.86, -3.71, -38.93)
CIE-LCHlch(51.86, 39.11, 264.55°)
OKLaboklab(58.26% -0.0517 -0.1104)
OKLCHoklch(58.26% 0.122 244.9)
XYZxyz(18.3132, 20.0204, 51.6044)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81BE #BE6C2F
analogous
#2FBEB4 #2F81BE #2F3ABE
triadic
#2F81BE #BE2F81 #81BE2F
tetradic
#2F81BE #B42FBE #BE6C2F #3ABE2F
square
#2F81BE #B42FBE #BE6C2F #3ABE2F
split-complementary
#2F81BE #BE2F3A #BEB42F
monochromatic
#173E5C #23608D #2F81BE #559ED5 #86BAE1

Accessibility & contrast

On white

4.20
#2F81BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F81BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81BE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81BE#FFFFFF#000000##000000
##2F81BE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C1
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#009097
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f81be;
/* rgb */ color: rgb(47, 129, 190);
/* oklch */ color: oklch(58.3% 0.122 244.9);
Tailwind
colors: {
  custom: {
    50: '#7ba5d2',
    500: '#2f81be',
    950: '#000000',
  },
}
SCSS
$custom: #2f81be;
$custom-light: #7ba5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81be",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 205.594,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.12194,
    "h": 244.9
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#2F81BE
secondary
#CB9F7E
accent
#8844E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F81BE

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

Preview Lab → · Contrast checker → · Palette generator →

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