#2C7BB7#2C7BB7

#2C7BB7 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.120 H 245.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2C7BB7
RGBrgb(44, 123, 183)
HSLhsl(206, 61%, 45%)
HSVhsv(206, 76%, 72%)
CMYKcmyk(76%, 32.8%, 0%, 28.2%)
CIE-LABlab(49.64, -3.07, -38.42)
CIE-LCHlch(49.64, 38.54, 265.42°)
OKLaboklab(56.37% -0.0498 -0.109)
OKLCHoklch(56.37% 0.12 245.5)
XYZxyz(16.6656, 18.1183, 47.4094)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BB7 #B7682C
analogous
#2CB7AD #2C7BB7 #2C36B7
triadic
#2C7BB7 #B72C7B #7BB72C
tetradic
#2C7BB7 #AD2CB7 #B7682C #36B72C
square
#2C7BB7 #AD2CB7 #B7682C #36B72C
split-complementary
#2C7BB7 #B72C36 #B7AD2C
monochromatic
#143954 #205A86 #2C7BB7 #4C99D4 #7EB5E0

Accessibility & contrast

On white

4.54
#2C7BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2C7BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7BB7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BB7#FFFFFF#000000##000000
##2C7BB71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#4C70B6
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7bb7;
/* rgb */ color: rgb(44, 123, 183);
/* oklch */ color: oklch(56.4% 0.120 245.5);
Tailwind
colors: {
  custom: {
    50: '#79a0cd',
    500: '#2c7bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7bb7;
$custom-light: #79a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7bb7",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 205.899,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.11985,
    "h": 245.5
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#2C7BB7
secondary
#C89A76
accent
#8943E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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