#2C7FB8#2C7FB8

#2C7FB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.118 H 243.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C7FB8
RGBrgb(44, 127, 184)
HSLhsl(204, 61%, 45%)
HSVhsv(204, 76%, 72%)
CMYKcmyk(76.1%, 31%, 0%, 27.8%)
CIE-LABlab(50.89, -5.08, -37.02)
CIE-LCHlch(50.89, 37.37, 262.18°)
OKLaboklab(57.37% -0.0532 -0.1049)
OKLCHoklch(57.37% 0.118 243.1)
XYZxyz(17.2764, 19.1729, 48.1283)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB8 #B8652C
analogous
#2CB8AB #2C7FB8 #2C39B8
triadic
#2C7FB8 #B82C7F #7FB82C
tetradic
#2C7FB8 #AB2CB8 #B8652C #39B82C
square
#2C7FB8 #AB2CB8 #B8652C #39B82C
split-complementary
#2C7FB8 #B82C39 #B8AB2C
monochromatic
#143B55 #205D87 #2C7FB8 #4D9DD4 #7EB8E0

Accessibility & contrast

On white

4.34
#2C7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2C7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB8#FFFFFF#000000##000000
##2C7FB81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580BA
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7fb8;
/* rgb */ color: rgb(44, 127, 184);
/* oklch */ color: oklch(57.4% 0.118 243.1);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2c7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb8;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb8",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 204.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.11765,
    "h": 243.1
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#2C7FB8
secondary
#C99877
accent
#8543E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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