#2B7FAC#2B7FAC

#2B7FAC is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.105 H 236.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2B7FAC
RGBrgb(43, 127, 172)
HSLhsl(201, 60%, 42%)
HSVhsv(201, 75%, 67%)
CMYKcmyk(75%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.30, -9.52, -31.03)
CIE-LCHlch(50.30, 32.46, 252.94°)
OKLaboklab(56.71% -0.0577 -0.0875)
OKLCHoklch(56.71% 0.105 236.6)
XYZxyz(16.0291, 18.6690, 41.7804)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FAC #AC582B
analogous
#2BAC98 #2B7FAC #2B3FAC
triadic
#2B7FAC #AC2B7F #7FAC2B
tetradic
#2B7FAC #982BAC #AC582B #3FAC2B
square
#2B7FAC #982BAC #AC582B #3FAC2B
split-complementary
#2B7FAC #AC2B3F #AC982B
monochromatic
#13374A #1F5B7B #2B7FAC #449FD0 #75B8DC

Accessibility & contrast

On white

4.44
#2B7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2B7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FAC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FAC#FFFFFF#000000##000000
##2B7FAC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#008B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7fac;
/* rgb */ color: rgb(43, 127, 172);
/* oklch */ color: oklch(56.7% 0.105 236.6);
Tailwind
colors: {
  custom: {
    50: '#77a4c5',
    500: '#2b7fac',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fac;
$custom-light: #77a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fac",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 200.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.1048,
    "h": 236.6
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#2B7FAC
secondary
#C48C6F
accent
#7C45E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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