#2F82B4#2F82B4

#2F82B4 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.0% C 0.110 H 239.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F82B4
RGBrgb(47, 130, 180)
HSLhsl(203, 59%, 45%)
HSVhsv(203, 74%, 71%)
CMYKcmyk(73.9%, 27.8%, 0%, 29.4%)
CIE-LABlab(51.68, -7.88, -33.47)
CIE-LCHlch(51.68, 34.39, 256.75°)
OKLaboklab(57.96% -0.0558 -0.0945)
OKLCHoklch(57.96% 0.11 239.4)
XYZxyz(17.3899, 19.8629, 46.0886)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F82B4 #B4612F
analogous
#2FB4A3 #2F82B4 #2F40B4
triadic
#2F82B4 #B42F82 #82B42F
tetradic
#2F82B4 #A32FB4 #B4612F #40B42F
square
#2F82B4 #A32FB4 #B4612F #40B42F
split-complementary
#2F82B4 #B42F40 #B4A32F
monochromatic
#163C53 #225F83 #2F82B4 #4FA0D1 #80BADE

Accessibility & contrast

On white

4.22
#2F82B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F82B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F82B4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F82B4#FFFFFF#000000##000000
##2F82B41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B6
Deuteranopia (green-blind)
#5876B3
Tritanopia (blue-blind)
#008F93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f82b4;
/* rgb */ color: rgb(47, 130, 180);
/* oklch */ color: oklch(58.0% 0.110 239.4);
Tailwind
colors: {
  custom: {
    50: '#79a6ca',
    500: '#2f82b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f82b4;
$custom-light: #79a6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f82b4",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 180
  },
  "hsl": {
    "h": 202.556,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.10979,
    "h": 239.4
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#2F82B4
secondary
#C79678
accent
#8146E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F82B4

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

Preview Lab → · Contrast checker → · Palette generator →

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