#2F82B5#2F82B5

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

Color values

HEX#2F82B5
RGBrgb(47, 130, 181)
HSLhsl(203, 59%, 45%)
HSVhsv(203, 74%, 71%)
CMYKcmyk(74%, 28.2%, 0%, 29%)
CIE-LABlab(51.73, -7.53, -33.98)
CIE-LCHlch(51.73, 34.80, 257.51°)
OKLaboklab(58.01% -0.0555 -0.096)
OKLCHoklch(58.01% 0.111 240)
XYZxyz(17.4922, 19.9038, 46.6270)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F82B5 #B5622F
analogous
#2FB5A5 #2F82B5 #2F3FB5
triadic
#2F82B5 #B52F82 #82B52F
tetradic
#2F82B5 #A52FB5 #B5622F #3FB52F
square
#2F82B5 #A52FB5 #B5622F #3FB52F
split-complementary
#2F82B5 #B52F3F #B5A52F
monochromatic
#163C54 #225F84 #2F82B5 #50A0D1 #80BADE

Accessibility & contrast

On white

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

On black

4.98
#2F82B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F82B5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F82B5#FFFFFF#000000##000000
##2F82B51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B7
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#008F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f82b5;
/* rgb */ color: rgb(47, 130, 181);
/* oklch */ color: oklch(58.0% 0.111 240.0);
Tailwind
colors: {
  custom: {
    50: '#7aa6cb',
    500: '#2f82b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f82b5;
$custom-light: #7aa6cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f82b5",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 181
  },
  "hsl": {
    "h": 202.836,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.11088,
    "h": 240
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F82B5

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

Preview Lab → · Contrast checker → · Palette generator →

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