#2F81AA#2F81AA

#2F81AA is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.100 H 234.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F81AA
RGBrgb(47, 129, 170)
HSLhsl(200, 57%, 43%)
HSVhsv(200, 72%, 67%)
CMYKcmyk(72.4%, 24.1%, 0%, 33.3%)
CIE-LABlab(50.93, -10.82, -28.88)
CIE-LCHlch(50.93, 30.84, 249.46°)
OKLaboklab(57.21% -0.0583 -0.0812)
OKLCHoklch(57.21% 0.1 234.4)
XYZxyz(16.2754, 19.2053, 40.8716)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81AA #AA582F
analogous
#2FAA95 #2F81AA #2F43AA
triadic
#2F81AA #AA2F81 #81AA2F
tetradic
#2F81AA #952FAA #AA582F #43AA2F
square
#2F81AA #952FAA #AA582F #43AA2F
split-complementary
#2F81AA #AA2F43 #AA952F
monochromatic
#14384A #225D7A #2F81AA #49A1CD #79BADA

Accessibility & contrast

On white

4.34
#2F81AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F81AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81AA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81AA#FFFFFF#000000##000000
##2F81AA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f81aa;
/* rgb */ color: rgb(47, 129, 170);
/* oklch */ color: oklch(57.2% 0.100 234.4);
Tailwind
colors: {
  custom: {
    50: '#78a5c3',
    500: '#2f81aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f81aa;
$custom-light: #78a5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81aa",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 170
  },
  "hsl": {
    "h": 200,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.09998,
    "h": 234.4
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#2F81AA
secondary
#C28D72
accent
#7B48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F81AA

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

Preview Lab → · Contrast checker → · Palette generator →

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