#2C7BBF#2C7BBF

#2C7BBF is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 56.8% C 0.130 H 248.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C7BBF
RGBrgb(44, 123, 191)
HSLhsl(208, 63%, 46%)
HSVhsv(208, 77%, 75%)
CMYKcmyk(77%, 35.6%, 0%, 25.1%)
CIE-LABlab(50.05, -0.13, -42.37)
CIE-LCHlch(50.05, 42.37, 269.82°)
OKLaboklab(56.83% -0.0475 -0.1206)
OKLCHoklch(56.83% 0.13 248.5)
XYZxyz(17.5220, 18.4609, 51.9199)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BBF #BF702C
analogous
#2CBFB9 #2C7BBF #2C31BF
triadic
#2C7BBF #BF2C7B #7BBF2C
tetradic
#2C7BBF #B92CBF #BF702C #31BF2C
square
#2C7BBF #B92CBF #BF702C #31BF2C
split-complementary
#2C7BBF #BF2C31 #BFB92C
monochromatic
#153B5C #215B8D #2C7BBF #5199D7 #83B6E2

Accessibility & contrast

On white

4.48
#2C7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2C7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7BBF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BBF#FFFFFF#000000##000000
##2C7BBF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#4671BE
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7bbf;
/* rgb */ color: rgb(44, 123, 191);
/* oklch */ color: oklch(56.8% 0.130 248.5);
Tailwind
colors: {
  custom: {
    50: '#7aa0d2',
    500: '#2c7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7bbf;
$custom-light: #7aa0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7bbf",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 207.755,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.12959,
    "h": 248.5
  },
  "luminance": 0.18463
}

Semantic roles & 50–950 ramp

primary
#2C7BBF
secondary
#CCA07B
accent
#8E42E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2C7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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