#2C7ABF#2C7ABF

#2C7ABF is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.131 H 249.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C7ABF
RGBrgb(44, 122, 191)
HSLhsl(208, 63%, 46%)
HSVhsv(208, 77%, 75%)
CMYKcmyk(77%, 36.1%, 0%, 25.1%)
CIE-LABlab(49.75, 0.47, -42.84)
CIE-LCHlch(49.75, 42.84, 270.63°)
OKLaboklab(56.6% -0.0466 -0.122)
OKLCHoklch(56.6% 0.131 249.1)
XYZxyz(17.3986, 18.2141, 51.8788)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7ABF #BF712C
analogous
#2CBFBA #2C7ABF #2C31BF
triadic
#2C7ABF #BF2C7A #7ABF2C
tetradic
#2C7ABF #BA2CBF #BF712C #31BF2C
square
#2C7ABF #BA2CBF #BF712C #31BF2C
split-complementary
#2C7ABF #BF2C31 #BFBA2C
monochromatic
#153A5C #215A8D #2C7ABF #5198D7 #83B6E2

Accessibility & contrast

On white

4.52
#2C7ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2C7ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7ABF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7ABF#FFFFFF#000000##000000
##2C7ABF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7abf;
/* rgb */ color: rgb(44, 122, 191);
/* oklch */ color: oklch(56.6% 0.131 249.1);
Tailwind
colors: {
  custom: {
    50: '#7aa0d2',
    500: '#2c7abf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7abf;
$custom-light: #7aa0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7abf",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 191
  },
  "hsl": {
    "h": 208.163,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.13056,
    "h": 249.1
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#2C7ABF
secondary
#CCA17B
accent
#8F42E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2C7ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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