#2B7DC7#2B7DC7

#2B7DC7 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.7% C 0.138 H 249.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B7DC7
RGBrgb(43, 125, 199)
HSLhsl(208, 64%, 47%)
HSVhsv(208, 78%, 78%)
CMYKcmyk(78.4%, 37.2%, 0%, 22%)
CIE-LABlab(51.04, 1.51, -45.38)
CIE-LCHlch(51.04, 45.41, 271.90°)
OKLaboklab(57.74% -0.0477 -0.1294)
OKLCHoklch(57.74% 0.138 249.8)
XYZxyz(18.6348, 19.3021, 56.7653)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7DC7 #C7752B
analogous
#2BC7C3 #2B7DC7 #2B2FC7
triadic
#2B7DC7 #C72B7D #7DC72B
tetradic
#2B7DC7 #C32BC7 #C7752B #2FC72B
square
#2B7DC7 #C32BC7 #C7752B #2FC72B
split-complementary
#2B7DC7 #C72B2F #C7C32B
monochromatic
#153E62 #205D95 #2B7DC7 #559BDA #87B9E5

Accessibility & contrast

On white

4.32
#2B7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2B7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7DC7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7DC7#FFFFFF#000000##000000
##2B7DC71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b7dc7;
/* rgb */ color: rgb(43, 125, 199);
/* oklch */ color: oklch(57.7% 0.138 249.8);
Tailwind
colors: {
  custom: {
    50: '#7ca2d8',
    500: '#2b7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2b7dc7;
$custom-light: #7ca2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7dc7",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 208.462,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57735,
    "c": 0.13788,
    "h": 249.8
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#2B7DC7
secondary
#CFA57F
accent
#9040E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2B7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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