#2C7FBF#2C7FBF

#2C7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.126 H 246.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C7FBF
RGBrgb(44, 127, 191)
HSLhsl(206, 63%, 46%)
HSVhsv(206, 77%, 75%)
CMYKcmyk(77%, 33.5%, 0%, 25.1%)
CIE-LABlab(51.24, -2.53, -40.49)
CIE-LCHlch(51.24, 40.57, 266.42°)
OKLaboklab(57.76% -0.0511 -0.115)
OKLCHoklch(57.76% 0.126 246)
XYZxyz(18.0284, 19.4737, 52.0887)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FBF #BF6C2C
analogous
#2CBFB5 #2C7FBF #2C36BF
triadic
#2C7FBF #BF2C7F #7FBF2C
tetradic
#2C7FBF #B52CBF #BF6C2C #36BF2C
square
#2C7FBF #B52CBF #BF6C2C #36BF2C
split-complementary
#2C7FBF #BF2C36 #BFB52C
monochromatic
#153D5C #215E8D #2C7FBF #519DD7 #83B9E2

Accessibility & contrast

On white

4.29
#2C7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2C7FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FBF#FFFFFF#000000##000000
##2C7FBF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C2
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c7fbf;
/* rgb */ color: rgb(44, 127, 191);
/* oklch */ color: oklch(57.8% 0.126 246.0);
Tailwind
colors: {
  custom: {
    50: '#7aa3d2',
    500: '#2c7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fbf;
$custom-light: #7aa3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fbf",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 206.122,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.12589,
    "h": 246
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#2C7FBF
secondary
#CC9E7B
accent
#8942E6
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2C7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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