#2C7BAF#2C7BAF

#2C7BAF is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.110 H 241.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C7BAF
RGBrgb(44, 123, 175)
HSLhsl(204, 60%, 43%)
HSVhsv(204, 75%, 69%)
CMYKcmyk(74.9%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.25, -5.98, -34.41)
CIE-LCHlch(49.25, 34.93, 260.13°)
OKLaboklab(55.93% -0.0522 -0.0974)
OKLCHoklch(55.93% 0.11 241.8)
XYZxyz(15.8565, 17.7947, 43.1482)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BAF #AF602C
analogous
#2CAFA1 #2C7BAF #2C39AF
triadic
#2C7BAF #AF2C7B #7BAF2C
tetradic
#2C7BAF #A12CAF #AF602C #39AF2C
square
#2C7BAF #A12CAF #AF602C #39AF2C
split-complementary
#2C7BAF #AF2C39 #AFA12C
monochromatic
#13364D #20597E #2C7BAF #479AD1 #78B5DD

Accessibility & contrast

On white

4.61
#2C7BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2C7BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7BAF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BAF#FFFFFF#000000##FFFFFF
##2C7BAF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#5170AE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7baf;
/* rgb */ color: rgb(44, 123, 175);
/* oklch */ color: oklch(55.9% 0.110 241.8);
Tailwind
colors: {
  custom: {
    50: '#77a1c7',
    500: '#2c7baf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7baf;
$custom-light: #77a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7baf",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 203.817,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.11048,
    "h": 241.8
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#2C7BAF
secondary
#C59372
accent
#8445E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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