#2F82A7#2F82A7

#2F82A7 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.3% C 0.097 H 231.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F82A7
RGBrgb(47, 130, 167)
HSLhsl(199, 56%, 42%)
HSVhsv(199, 72%, 65%)
CMYKcmyk(71.9%, 22.2%, 0%, 34.5%)
CIE-LABlab(51.10, -12.43, -26.87)
CIE-LCHlch(51.10, 29.61, 245.17°)
OKLaboklab(57.31% -0.0604 -0.0754)
OKLCHoklch(57.31% 0.097 231.3)
XYZxyz(16.1272, 19.3578, 39.4382)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F82A7 #A7542F
analogous
#2FA790 #2F82A7 #2F46A7
triadic
#2F82A7 #A72F82 #82A72F
tetradic
#2F82A7 #902FA7 #A7542F #46A72F
square
#2F82A7 #902FA7 #A7542F #46A72F
split-complementary
#2F82A7 #A72F46 #A7902F
monochromatic
#143847 #225D77 #2F82A7 #48A3CB #78BBD9

Accessibility & contrast

On white

4.31
#2F82A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F82A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F82A7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F82A7#FFFFFF#000000##000000
##2F82A71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F80A9
Deuteranopia (green-blind)
#5F75A6
Tritanopia (blue-blind)
#008C8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f82a7;
/* rgb */ color: rgb(47, 130, 167);
/* oklch */ color: oklch(57.3% 0.097 231.3);
Tailwind
colors: {
  custom: {
    50: '#77a6c1',
    500: '#2f82a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f82a7;
$custom-light: #77a6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f82a7",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 167
  },
  "hsl": {
    "h": 198.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.09664,
    "h": 231.3
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#2F82A7
secondary
#C18A71
accent
#7748DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F82A7

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

Preview Lab → · Contrast checker → · Palette generator →

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