#2B82B6#2B82B6

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

Color values

HEX#2B82B6
RGBrgb(43, 130, 182)
HSLhsl(202, 62%, 44%)
HSVhsv(202, 76%, 71%)
CMYKcmyk(76.4%, 28.6%, 0%, 28.6%)
CIE-LABlab(51.67, -7.68, -34.65)
CIE-LCHlch(51.67, 35.49, 257.50°)
OKLaboklab(57.95% -0.0572 -0.098)
OKLCHoklch(57.95% 0.113 239.7)
XYZxyz(17.4191, 19.8542, 47.1611)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B82B6 #B65F2B
analogous
#2BB6A5 #2B82B6 #2B3DB6
triadic
#2B82B6 #B62B82 #82B62B
tetradic
#2B82B6 #A52BB6 #B65F2B #3DB62B
square
#2B82B6 #A52BB6 #B65F2B #3DB62B
split-complementary
#2B82B6 #B62B3D #B6A52B
monochromatic
#143B53 #1F5F84 #2B82B6 #4AA1D4 #7BBAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B82B6#FFFFFF#000000##000000
##2B82B61.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)
#6A82B8
Deuteranopia (green-blind)
#5775B5
Tritanopia (blue-blind)
#008F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b82b6;
/* rgb */ color: rgb(43, 130, 182);
/* oklch */ color: oklch(58.0% 0.113 239.7);
Tailwind
colors: {
  custom: {
    50: '#78a6cc',
    500: '#2b82b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b82b6;
$custom-light: #78a6cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b82b6",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 182
  },
  "hsl": {
    "h": 202.446,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.11346,
    "h": 239.7
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#2B82B6
secondary
#C89475
accent
#8043E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B82B6

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

Preview Lab → · Contrast checker → · Palette generator →

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