#2C7FB4#2C7FB4

#2C7FB4 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.113 H 241.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C7FB4
RGBrgb(44, 127, 180)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 71%)
CMYKcmyk(75.6%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.70, -6.53, -35.02)
CIE-LCHlch(50.70, 35.63, 259.44°)
OKLaboklab(57.16% -0.0545 -0.0991)
OKLCHoklch(57.16% 0.113 241.2)
XYZxyz(16.8631, 19.0075, 45.9512)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB4 #B4612C
analogous
#2CB4A5 #2C7FB4 #2C3BB4
triadic
#2C7FB4 #B42C7F #7FB42C
tetradic
#2C7FB4 #A52CB4 #B4612C #3BB42C
square
#2C7FB4 #A52CB4 #B4612C #3BB42C
split-complementary
#2C7FB4 #B42C3B #B4A52C
monochromatic
#143A52 #205C83 #2C7FB4 #4A9ED3 #7CB8DF

Accessibility & contrast

On white

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

On black

4.80
#2C7FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB4#FFFFFF#000000##000000
##2C7FB41.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7fb4;
/* rgb */ color: rgb(44, 127, 180);
/* oklch */ color: oklch(57.2% 0.113 241.2);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2c7fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb4;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb4",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 203.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.11309,
    "h": 241.2
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#2C7FB4
secondary
#C79575
accent
#8244E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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