#2F82B2#2F82B2

#2F82B2 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 57.9% C 0.108 H 238.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F82B2
RGBrgb(47, 130, 178)
HSLhsl(202, 58%, 44%)
HSVhsv(202, 74%, 70%)
CMYKcmyk(73.6%, 27%, 0%, 30.2%)
CIE-LABlab(51.59, -8.59, -32.47)
CIE-LCHlch(51.59, 33.58, 255.18°)
OKLaboklab(57.86% -0.0565 -0.0916)
OKLCHoklch(57.86% 0.108 238.3)
XYZxyz(17.1876, 19.7820, 45.0233)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F82B2 #B25F2F
analogous
#2FB2A1 #2F82B2 #2F41B2
triadic
#2F82B2 #B22F82 #82B22F
tetradic
#2F82B2 #A12FB2 #B25F2F #41B22F
square
#2F82B2 #A12FB2 #B25F2F #41B22F
split-complementary
#2F82B2 #B22F41 #B2A12F
monochromatic
#153B51 #225F82 #2F82B2 #4EA1D0 #7EBADD

Accessibility & contrast

On white

4.24
#2F82B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2F82B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F82B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F82B2#FFFFFF#000000##000000
##2F82B21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B4
Deuteranopia (green-blind)
#5A75B1
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f82b2;
/* rgb */ color: rgb(47, 130, 178);
/* oklch */ color: oklch(57.9% 0.108 238.3);
Tailwind
colors: {
  custom: {
    50: '#79a6c9',
    500: '#2f82b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f82b2;
$custom-light: #79a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f82b2",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 178
  },
  "hsl": {
    "h": 201.985,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.10764,
    "h": 238.3
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#2F82B2
secondary
#C69477
accent
#7F46E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F82B2

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

Preview Lab → · Contrast checker → · Palette generator →

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