#2B7FA1#2B7FA1

#2B7FA1 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.094 H 229.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA1
RGBrgb(43, 127, 161)
HSLhsl(197, 58%, 40%)
HSVhsv(197, 73%, 63%)
CMYKcmyk(73.3%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.81, -13.39, -25.39)
CIE-LCHlch(49.81, 28.70, 242.20°)
OKLaboklab(56.17% -0.0616 -0.0712)
OKLCHoklch(56.17% 0.094 229.1)
XYZxyz(15.0161, 18.2638, 36.4452)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA1 #A14D2B
analogous
#2BA188 #2B7FA1 #2B44A1
triadic
#2B7FA1 #A12B7F #7FA12B
tetradic
#2B7FA1 #882BA1 #A14D2B #44A12B
square
#2B7FA1 #882BA1 #A14D2B #44A12B
split-complementary
#2B7FA1 #A12B44 #A1882B
monochromatic
#113340 #1E5971 #2B7FA1 #3EA3CB #6EBAD8

Accessibility & contrast

On white

4.51
#2B7FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2B7FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA1#FFFFFF#000000##000000
##2B7FA11.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA3
Deuteranopia (green-blind)
#5D71A1
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b7fa1;
/* rgb */ color: rgb(43, 127, 161);
/* oklch */ color: oklch(56.2% 0.094 229.1);
Tailwind
colors: {
  custom: {
    50: '#75a4bd',
    500: '#2b7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa1;
$custom-light: #75a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa1",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 197.288,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.09422,
    "h": 229.1
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#2B7FA1
secondary
#BF8269
accent
#7347E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2B7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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