#2F82BA#2F82BA

#2F82BA is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.3% C 0.116 H 242.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F82BA
RGBrgb(47, 130, 186)
HSLhsl(204, 60%, 46%)
HSVhsv(204, 75%, 73%)
CMYKcmyk(74.7%, 30.1%, 0%, 27.1%)
CIE-LABlab(51.96, -5.74, -36.48)
CIE-LCHlch(51.96, 36.93, 261.05°)
OKLaboklab(58.28% -0.0539 -0.1032)
OKLCHoklch(58.28% 0.116 242.4)
XYZxyz(18.0144, 20.1127, 49.3776)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F82BA #BA672F
analogous
#2FBAAD #2F82BA #2F3CBA
triadic
#2F82BA #BA2F82 #82BA2F
tetradic
#2F82BA #AD2FBA #BA672F #3CBA2F
square
#2F82BA #AD2FBA #BA672F #3CBA2F
split-complementary
#2F82BA #BA2F3C #BAAD2F
monochromatic
#163E58 #236089 #2F82BA #53A0D3 #84BBE0

Accessibility & contrast

On white

4.18
#2F82BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F82BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F82BA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F82BA#FFFFFF#000000##000000
##2F82BA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BC
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#009096
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f82ba;
/* rgb */ color: rgb(47, 130, 186);
/* oklch */ color: oklch(58.3% 0.116 242.4);
Tailwind
colors: {
  custom: {
    50: '#7aa6cf',
    500: '#2f82ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f82ba;
$custom-light: #7aa6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f82ba",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 186
  },
  "hsl": {
    "h": 204.173,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.11648,
    "h": 242.4
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#2F82BA
secondary
#C99B7C
accent
#8545E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F82BA

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

Preview Lab → · Contrast checker → · Palette generator →

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