#2C7FB5#2C7FB5

#2C7FB5 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.114 H 241.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C7FB5
RGBrgb(44, 127, 181)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(75.7%, 29.8%, 0%, 29%)
CIE-LABlab(50.74, -6.17, -35.53)
CIE-LCHlch(50.74, 36.06, 260.15°)
OKLaboklab(57.21% -0.0542 -0.1005)
OKLCHoklch(57.21% 0.114 241.7)
XYZxyz(16.9653, 19.0484, 46.4897)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB5 #B5622C
analogous
#2CB5A7 #2C7FB5 #2C3AB5
triadic
#2C7FB5 #B52C7F #7FB52C
tetradic
#2C7FB5 #A72CB5 #B5622C #3AB52C
square
#2C7FB5 #A72CB5 #B5622C #3AB52C
split-complementary
#2C7FB5 #B52C3A #B5A72C
monochromatic
#143A53 #205C84 #2C7FB5 #4B9ED3 #7CB8DF

Accessibility & contrast

On white

4.37
#2C7FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2C7FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB5#FFFFFF#000000##000000
##2C7FB51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7fb5;
/* rgb */ color: rgb(44, 127, 181);
/* oklch */ color: oklch(57.2% 0.114 241.7);
Tailwind
colors: {
  custom: {
    50: '#78a3cb',
    500: '#2c7fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb5;
$custom-light: #78a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb5",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 203.65,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.11422,
    "h": 241.7
  },
  "luminance": 0.1905
}

Semantic roles & 50–950 ramp

primary
#2C7FB5
secondary
#C89675
accent
#8344E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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