#2C7FCA#2C7FCA

#2C7FCA is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.139 H 249.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C7FCA
RGBrgb(44, 127, 202)
HSLhsl(208, 64%, 48%)
HSVhsv(208, 78%, 79%)
CMYKcmyk(78.2%, 37.1%, 0%, 20.8%)
CIE-LABlab(51.81, 1.52, -45.87)
CIE-LCHlch(51.81, 45.89, 271.90°)
OKLaboklab(58.4% -0.0481 -0.1307)
OKLCHoklch(58.4% 0.139 249.8)
XYZxyz(19.2847, 19.9762, 58.7051)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FCA #CA772C
analogous
#2CCAC6 #2C7FCA #2C30CA
triadic
#2C7FCA #CA2C7F #7FCA2C
tetradic
#2C7FCA #C62CCA #CA772C #30CA2C
square
#2C7FCA #C62CCA #CA772C #30CA2C
split-complementary
#2C7FCA #CA2C30 #CAC62C
monochromatic
#164065 #215F98 #2C7FCA #589DDB #8BBBE6

Accessibility & contrast

On white

4.20
#2C7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2C7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FCA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FCA#FFFFFF#000000##000000
##2C7FCA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c7fca;
/* rgb */ color: rgb(44, 127, 202);
/* oklch */ color: oklch(58.4% 0.139 249.8);
Tailwind
colors: {
  custom: {
    50: '#7ca3da',
    500: '#2c7fca',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fca;
$custom-light: #7ca3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fca",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 208.481,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.584,
    "c": 0.13933,
    "h": 249.8
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#2C7FCA
secondary
#D0A782
accent
#9041E7
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2C7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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