#2F81A9#2F81A9

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

Color values

HEX#2F81A9
RGBrgb(47, 129, 169)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 66%)
CMYKcmyk(72.2%, 23.7%, 0%, 33.7%)
CIE-LABlab(50.88, -11.17, -28.37)
CIE-LCHlch(50.88, 30.49, 248.51°)
OKLaboklab(57.16% -0.0586 -0.0798)
OKLCHoklch(57.16% 0.099 233.7)
XYZxyz(16.1811, 19.1676, 40.3753)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81A9 #A9572F
analogous
#2FA994 #2F81A9 #2F44A9
triadic
#2F81A9 #A92F81 #81A92F
tetradic
#2F81A9 #942FA9 #A9572F #44A92F
square
#2F81A9 #942FA9 #A9572F #44A92F
split-complementary
#2F81A9 #A92F44 #A9942F
monochromatic
#143849 #225C79 #2F81A9 #49A1CC #79BADA

Accessibility & contrast

On white

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

On black

4.83
#2F81A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81A9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81A9#FFFFFF#000000##000000
##2F81A91.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AB
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#008C8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f81a9;
/* rgb */ color: rgb(47, 129, 169);
/* oklch */ color: oklch(57.2% 0.099 233.7);
Tailwind
colors: {
  custom: {
    50: '#78a5c2',
    500: '#2f81a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f81a9;
$custom-light: #78a5c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81a9",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 169
  },
  "hsl": {
    "h": 199.672,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.09901,
    "h": 233.7
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#2F81A9
secondary
#C28C72
accent
#7A48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F81A9

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

Preview Lab → · Contrast checker → · Palette generator →

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