#2C7AC7#2C7AC7

#2C7AC7 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.141 H 251.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2C7AC7
RGBrgb(44, 122, 199)
HSLhsl(210, 64%, 48%)
HSVhsv(210, 78%, 78%)
CMYKcmyk(77.9%, 38.7%, 0%, 22%)
CIE-LABlab(50.19, 3.44, -46.74)
CIE-LCHlch(50.19, 46.86, 274.22°)
OKLaboklab(57.08% -0.0445 -0.1334)
OKLCHoklch(57.08% 0.141 251.5)
XYZxyz(18.3032, 18.5759, 56.6426)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AC7 #C7792C
analogous
#2CC7C6 #2C7AC7 #2C2DC7
triadic
#2C7AC7 #C72C7A #7AC72C
tetradic
#2C7AC7 #C62CC7 #C7792C #2DC72C
square
#2C7AC7 #C62CC7 #C7792C #2DC72C
split-complementary
#2C7AC7 #C72C2D #C7C62C
monochromatic
#163D63 #215B95 #2C7AC7 #5699DA #89B7E5

Accessibility & contrast

On white

4.45
#2C7AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2C7AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7AC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AC7#FFFFFF#000000##000000
##2C7AC71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7ac7;
/* rgb */ color: rgb(44, 122, 199);
/* oklch */ color: oklch(57.1% 0.141 251.5);
Tailwind
colors: {
  custom: {
    50: '#7ca0d8',
    500: '#2c7ac7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ac7;
$custom-light: #7ca0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ac7",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 209.806,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.14063,
    "h": 251.5
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#2C7AC7
secondary
#CFA780
accent
#9341E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2C7AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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