#2B7FB1#2B7FB1

#2B7FB1 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.110 H 239.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB1
RGBrgb(43, 127, 177)
HSLhsl(202, 61%, 43%)
HSVhsv(202, 76%, 69%)
CMYKcmyk(75.7%, 28.2%, 0%, 30.6%)
CIE-LABlab(50.53, -7.73, -33.56)
CIE-LCHlch(50.53, 34.44, 257.02°)
OKLaboklab(56.97% -0.056 -0.0948)
OKLCHoklch(56.97% 0.11 239.4)
XYZxyz(16.5183, 18.8647, 44.3571)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB1 #B15D2B
analogous
#2BB1A0 #2B7FB1 #2B3CB1
triadic
#2B7FB1 #B12B7F #7FB12B
tetradic
#2B7FB1 #A02BB1 #B15D2B #3CB12B
square
#2B7FB1 #A02BB1 #B15D2B #3CB12B
split-complementary
#2B7FB1 #B12B3C #B1A02B
monochromatic
#13384F #1F5C80 #2B7FB1 #479ED2 #78B8DE

Accessibility & contrast

On white

4.40
#2B7FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2B7FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB1#FFFFFF#000000##000000
##2B7FB11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB3
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7fb1;
/* rgb */ color: rgb(43, 127, 177);
/* oklch */ color: oklch(57.0% 0.110 239.4);
Tailwind
colors: {
  custom: {
    50: '#77a4c8',
    500: '#2b7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb1;
$custom-light: #77a4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb1",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 202.388,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.11013,
    "h": 239.4
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#2B7FB1
secondary
#C69172
accent
#8044E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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