#2B7BDD#2B7BDD

#2B7BDD is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.7% C 0.168 H 255.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2B7BDD
RGBrgb(43, 123, 221)
HSLhsl(213, 72%, 52%)
HSVhsv(213, 81%, 87%)
CMYKcmyk(80.5%, 44.3%, 0%, 13.3%)
CIE-LABlab(51.72, 10.97, -56.77)
CIE-LCHlch(51.72, 57.82, 280.94°)
OKLaboklab(58.67% -0.0411 -0.1629)
OKLCHoklch(58.67% 0.168 255.8)
XYZxyz(21.1255, 19.8974, 71.1198)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7BDD #DD8D2B
analogous
#2BD4DD #2B7BDD #342BDD
triadic
#2B7BDD #DD2B7B #7BDD2B
tetradic
#2B7BDD #DD2BD4 #DD8D2B #2BDD34
square
#2B7BDD #DD2BD4 #DD8D2B #2BDD34
split-complementary
#2B7BDD #DD342B #D4DD2B
monochromatic
#14427A #1C5EAF #2B7BDD #609CE5 #94BDEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7BDD#FFFFFF#000000##000000
##2B7BDD1.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)
#4884E1
Deuteranopia (green-blind)
#2074DB
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b7bdd;
/* rgb */ color: rgb(43, 123, 221);
/* oklch */ color: oklch(58.7% 0.168 255.8);
Tailwind
colors: {
  custom: {
    50: '#80a0e8',
    500: '#2b7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #2b7bdd;
$custom-light: #80a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7bdd",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 213.034,
    "s": 72.358,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.16797,
    "h": 255.8
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#2B7BDD
secondary
#D9B68B
accent
#9D39EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2B7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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