#2B82B4#2B82B4

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

Color values

HEX#2B82B4
RGBrgb(43, 130, 180)
HSLhsl(202, 61%, 44%)
HSVhsv(202, 76%, 71%)
CMYKcmyk(76.1%, 27.8%, 0%, 29.4%)
CIE-LABlab(51.58, -8.40, -33.64)
CIE-LCHlch(51.58, 34.68, 255.99°)
OKLaboklab(57.85% -0.0579 -0.095)
OKLCHoklch(57.85% 0.111 238.7)
XYZxyz(17.2139, 19.7721, 46.0803)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B82B4 #B45D2B
analogous
#2BB4A1 #2B82B4 #2B3DB4
triadic
#2B82B4 #B42B82 #82B42B
tetradic
#2B82B4 #A12BB4 #B45D2B #3DB42B
square
#2B82B4 #A12BB4 #B45D2B #3DB42B
split-complementary
#2B82B4 #B42B3D #B4A12B
monochromatic
#133B51 #1F5E83 #2B82B4 #49A1D3 #7ABADF

Accessibility & contrast

On white

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

On black

4.95
#2B82B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B82B4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B82B4#FFFFFF#000000##000000
##2B82B41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b82b4;
/* rgb */ color: rgb(43, 130, 180);
/* oklch */ color: oklch(57.9% 0.111 238.7);
Tailwind
colors: {
  custom: {
    50: '#78a6ca',
    500: '#2b82b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b82b4;
$custom-light: #78a6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b82b4",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 180
  },
  "hsl": {
    "h": 201.898,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.11129,
    "h": 238.7
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#2B82B4
secondary
#C79273
accent
#7E43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B82B4

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

Preview Lab → · Contrast checker → · Palette generator →

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