#2C7CBF#2C7CBF

#2C7CBF is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.1% C 0.129 H 247.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C7CBF
RGBrgb(44, 124, 191)
HSLhsl(207, 63%, 46%)
HSVhsv(207, 77%, 75%)
CMYKcmyk(77%, 35.1%, 0%, 25.1%)
CIE-LABlab(50.35, -0.74, -41.90)
CIE-LCHlch(50.35, 41.91, 268.99°)
OKLaboklab(57.06% -0.0484 -0.1192)
OKLCHoklch(57.06% 0.129 247.9)
XYZxyz(17.6467, 18.7103, 51.9615)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CBF #BF6F2C
analogous
#2CBFB8 #2C7CBF #2C32BF
triadic
#2C7CBF #BF2C7C #7CBF2C
tetradic
#2C7CBF #B82CBF #BF6F2C #32BF2C
square
#2C7CBF #B82CBF #BF6F2C #32BF2C
split-complementary
#2C7CBF #BF2C32 #BFB82C
monochromatic
#153B5C #215C8D #2C7CBF #519AD7 #83B7E2

Accessibility & contrast

On white

4.43
#2C7CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2C7CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7CBF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7CBF#FFFFFF#000000##000000
##2C7CBF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7cbf;
/* rgb */ color: rgb(44, 124, 191);
/* oklch */ color: oklch(57.1% 0.129 247.9);
Tailwind
colors: {
  custom: {
    50: '#7aa1d2',
    500: '#2c7cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7cbf;
$custom-light: #7aa1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7cbf",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 207.347,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57061,
    "c": 0.12864,
    "h": 247.9
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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