#2B7EB1#2B7EB1

#2B7EB1 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.111 H 240.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2B7EB1
RGBrgb(43, 126, 177)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(75.7%, 28.8%, 0%, 30.6%)
CIE-LABlab(50.23, -7.15, -34.03)
CIE-LCHlch(50.23, 34.78, 258.13°)
OKLaboklab(56.73% -0.055 -0.0962)
OKLCHoklch(56.73% 0.111 240.2)
XYZxyz(16.3898, 18.6077, 44.3143)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB1 #B15E2B
analogous
#2BB1A1 #2B7EB1 #2B3BB1
triadic
#2B7EB1 #B12B7E #7EB12B
tetradic
#2B7EB1 #A12BB1 #B15E2B #3BB12B
square
#2B7EB1 #A12BB1 #B15E2B #3BB12B
split-complementary
#2B7EB1 #B12B3B #B1A12B
monochromatic
#13384F #1F5B80 #2B7EB1 #479DD2 #78B7DE

Accessibility & contrast

On white

4.45
#2B7EB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2B7EB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EB1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EB1#FFFFFF#000000##000000
##2B7EB11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB3
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7eb1;
/* rgb */ color: rgb(43, 126, 177);
/* oklch */ color: oklch(56.7% 0.111 240.2);
Tailwind
colors: {
  custom: {
    50: '#77a3c8',
    500: '#2b7eb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb1;
$custom-light: #77a3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb1",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 177
  },
  "hsl": {
    "h": 202.836,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.11085,
    "h": 240.2
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#2B7EB1
secondary
#C69272
accent
#8144E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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