#2B7BC7#2B7BC7

#2B7BC7 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.140 H 250.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B7BC7
RGBrgb(43, 123, 199)
HSLhsl(209, 64%, 47%)
HSVhsv(209, 78%, 78%)
CMYKcmyk(78.4%, 38.2%, 0%, 22%)
CIE-LABlab(50.45, 2.72, -46.31)
CIE-LCHlch(50.45, 46.39, 273.36°)
OKLaboklab(57.28% -0.0459 -0.1321)
OKLCHoklch(57.28% 0.14 250.8)
XYZxyz(18.3841, 18.8008, 56.6818)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7BC7 #C7772B
analogous
#2BC7C5 #2B7BC7 #2B2DC7
triadic
#2B7BC7 #C72B7B #7BC72B
tetradic
#2B7BC7 #C52BC7 #C7772B #2DC72B
square
#2B7BC7 #C52BC7 #C7772B #2DC72B
split-complementary
#2B7BC7 #C72B2D #C7C52B
monochromatic
#153D62 #205C95 #2B7BC7 #5599DA #87B7E5

Accessibility & contrast

On white

4.41
#2B7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2B7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7BC7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7BC7#FFFFFF#000000##000000
##2B7BC71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7bc7;
/* rgb */ color: rgb(43, 123, 199);
/* oklch */ color: oklch(57.3% 0.140 250.8);
Tailwind
colors: {
  custom: {
    50: '#7ca0d8',
    500: '#2b7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #2b7bc7;
$custom-light: #7ca0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7bc7",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 209.231,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.13989,
    "h": 250.8
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#2B7BC7
secondary
#CFA67F
accent
#9240E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2B7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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