#2B7FB6#2B7FB6

#2B7FB6 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.116 H 242.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB6
RGBrgb(43, 127, 182)
HSLhsl(204, 62%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(76.4%, 30.2%, 0%, 28.6%)
CIE-LABlab(50.77, -5.93, -36.07)
CIE-LCHlch(50.77, 36.55, 260.66°)
OKLaboklab(57.24% -0.0544 -0.1021)
OKLCHoklch(57.24% 0.116 242)
XYZxyz(17.0258, 19.0677, 47.0300)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB6 #B6622B
analogous
#2BB6A8 #2B7FB6 #2B3AB6
triadic
#2B7FB6 #B62B7F #7FB62B
tetradic
#2B7FB6 #A82BB6 #B6622B #3AB62B
square
#2B7FB6 #A82BB6 #B6622B #3AB62B
split-complementary
#2B7FB6 #B62B3A #B6A82B
monochromatic
#143A53 #1F5C84 #2B7FB6 #4A9ED4 #7BB8E0

Accessibility & contrast

On white

4.36
#2B7FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2B7FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB6#FFFFFF#000000##000000
##2B7FB61.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B8
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b7fb6;
/* rgb */ color: rgb(43, 127, 182);
/* oklch */ color: oklch(57.2% 0.116 242.0);
Tailwind
colors: {
  custom: {
    50: '#78a3cc',
    500: '#2b7fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb6;
$custom-light: #78a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb6",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 203.741,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.11571,
    "h": 242
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#2B7FB6
secondary
#C89675
accent
#8343E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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