#2C7BA2#2C7BA2

#2C7BA2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.097 H 234.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2C7BA2
RGBrgb(44, 123, 162)
HSLhsl(200, 57%, 40%)
HSVhsv(200, 73%, 64%)
CMYKcmyk(72.8%, 24.1%, 0%, 36.5%)
CIE-LABlab(48.65, -10.62, -27.78)
CIE-LCHlch(48.65, 29.75, 249.08°)
OKLaboklab(55.26% -0.0566 -0.0782)
OKLCHoklch(55.26% 0.097 234.1)
XYZxyz(14.6407, 17.3084, 36.7447)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BA2 #A2532C
analogous
#2CA28E #2C7BA2 #2C40A2
triadic
#2C7BA2 #A22C7B #7BA22C
tetradic
#2C7BA2 #8E2CA2 #A2532C #40A22C
square
#2C7BA2 #8E2CA2 #A2532C #40A22C
split-complementary
#2C7BA2 #A22C40 #A28E2C
monochromatic
#123242 #1F5672 #2C7BA2 #409DCB #70B6D8

Accessibility & contrast

On white

4.71
#2C7BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2C7BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7BA2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BA2#FFFFFF#000000##FFFFFF
##2C7BA21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c7ba2;
/* rgb */ color: rgb(44, 123, 162);
/* oklch */ color: oklch(55.3% 0.097 234.1);
Tailwind
colors: {
  custom: {
    50: '#75a1bd',
    500: '#2c7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ba2;
$custom-light: #75a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ba2",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 199.831,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.09653,
    "h": 234.1
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#2C7BA2
secondary
#BF866A
accent
#7A47E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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