#2C7FAF#2C7FAF

#2C7FAF is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.108 H 238.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C7FAF
RGBrgb(44, 127, 175)
HSLhsl(202, 60%, 43%)
HSVhsv(202, 75%, 69%)
CMYKcmyk(74.9%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.46, -8.32, -32.51)
CIE-LCHlch(50.46, 33.55, 255.64°)
OKLaboklab(56.89% -0.0561 -0.0918)
OKLCHoklch(56.89% 0.108 238.5)
XYZxyz(16.3629, 18.8075, 43.3170)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FAF #AF5C2C
analogous
#2CAF9D #2C7FAF #2C3DAF
triadic
#2C7FAF #AF2C7F #7FAF2C
tetradic
#2C7FAF #9D2CAF #AF5C2C #3DAF2C
square
#2C7FAF #9D2CAF #AF5C2C #3DAF2C
split-complementary
#2C7FAF #AF2C3D #AF9D2C
monochromatic
#13384D #205C7E #2C7FAF #479ED1 #78B8DD

Accessibility & contrast

On white

4.41
#2C7FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2C7FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FAF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FAF#FFFFFF#000000##000000
##2C7FAF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7faf;
/* rgb */ color: rgb(44, 127, 175);
/* oklch */ color: oklch(56.9% 0.108 238.5);
Tailwind
colors: {
  custom: {
    50: '#77a4c7',
    500: '#2c7faf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7faf;
$custom-light: #77a4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7faf",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 201.985,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.10759,
    "h": 238.5
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#2C7FAF
secondary
#C59072
accent
#7F45E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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