#2C7BCA#2C7BCA

#2C7BCA is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.143 H 251.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7BCA
RGBrgb(44, 123, 202)
HSLhsl(210, 64%, 48%)
HSVhsv(210, 78%, 79%)
CMYKcmyk(78.2%, 39.1%, 0%, 20.8%)
CIE-LABlab(50.64, 3.95, -47.72)
CIE-LCHlch(50.64, 47.88, 274.73°)
OKLaboklab(57.49% -0.0447 -0.1363)
OKLCHoklch(57.49% 0.143 251.8)
XYZxyz(18.7783, 18.9634, 58.5363)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BCA #CA7B2C
analogous
#2CCACA #2C7BCA #2C2CCA
triadic
#2C7BCA #CA2C7B #7BCA2C
tetradic
#2C7BCA #CA2CCA #CA7B2C #2CCA2C
square
#2C7BCA #CA2CCA #CA7B2C #2CCA2C
split-complementary
#2C7BCA #CA2C2C #CACA2C
monochromatic
#163E65 #215C98 #2C7BCA #589ADB #8BB8E6

Accessibility & contrast

On white

4.38
#2C7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2C7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7BCA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BCA#FFFFFF#000000##000000
##2C7BCA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7bca;
/* rgb */ color: rgb(44, 123, 202);
/* oklch */ color: oklch(57.5% 0.143 251.8);
Tailwind
colors: {
  custom: {
    50: '#7ca0da',
    500: '#2c7bca',
    950: '#000000',
  },
}
SCSS
$custom: #2c7bca;
$custom-light: #7ca0da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7bca",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 210,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.1434,
    "h": 251.8
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#2C7BCA
secondary
#D0A982
accent
#9441E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2C7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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