#2C7BB8#2C7BB8

#2C7BB8 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.121 H 245.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C7BB8
RGBrgb(44, 123, 184)
HSLhsl(206, 61%, 45%)
HSVhsv(206, 76%, 72%)
CMYKcmyk(76.1%, 33.2%, 0%, 27.8%)
CIE-LABlab(49.69, -2.71, -38.91)
CIE-LCHlch(49.69, 39.01, 266.02°)
OKLaboklab(56.43% -0.0495 -0.1105)
OKLCHoklch(56.43% 0.121 245.9)
XYZxyz(16.7701, 18.1601, 47.9595)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BB8 #B8692C
analogous
#2CB8AF #2C7BB8 #2C35B8
triadic
#2C7BB8 #B82C7B #7BB82C
tetradic
#2C7BB8 #AF2CB8 #B8692C #35B82C
square
#2C7BB8 #AF2CB8 #B8692C #35B82C
split-complementary
#2C7BB8 #B82C35 #B8AF2C
monochromatic
#143955 #205A87 #2C7BB8 #4D99D4 #7EB6E0

Accessibility & contrast

On white

4.53
#2C7BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2C7BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7BB8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BB8#FFFFFF#000000##000000
##2C7BB81.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBB
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7bb8;
/* rgb */ color: rgb(44, 123, 184);
/* oklch */ color: oklch(56.4% 0.121 245.9);
Tailwind
colors: {
  custom: {
    50: '#79a0cd',
    500: '#2c7bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7bb8;
$custom-light: #79a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7bb8",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 184
  },
  "hsl": {
    "h": 206.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.12105,
    "h": 245.9
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#2C7BB8
secondary
#C99B77
accent
#8A43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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