#2B7EB6#2B7EB6

#2B7EB6 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.117 H 242.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B7EB6
RGBrgb(43, 126, 182)
HSLhsl(204, 62%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(76.4%, 30.8%, 0%, 28.6%)
CIE-LABlab(50.47, -5.34, -36.54)
CIE-LCHlch(50.47, 36.93, 261.68°)
OKLaboklab(57% -0.0534 -0.1035)
OKLCHoklch(57% 0.117 242.7)
XYZxyz(16.8973, 18.8107, 46.9872)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB6 #B6632B
analogous
#2BB6A9 #2B7EB6 #2B38B6
triadic
#2B7EB6 #B62B7E #7EB62B
tetradic
#2B7EB6 #A92BB6 #B6632B #38B62B
square
#2B7EB6 #A92BB6 #B6632B #38B62B
split-complementary
#2B7EB6 #B62B38 #B6A92B
monochromatic
#143953 #1F5C84 #2B7EB6 #4A9DD4 #7BB7E0

Accessibility & contrast

On white

4.41
#2B7EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2B7EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EB6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EB6#FFFFFF#000000##000000
##2B7EB61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB8
Deuteranopia (green-blind)
#5172B5
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7eb6;
/* rgb */ color: rgb(43, 126, 182);
/* oklch */ color: oklch(57.0% 0.117 242.7);
Tailwind
colors: {
  custom: {
    50: '#78a3cc',
    500: '#2b7eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb6;
$custom-light: #78a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb6",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 182
  },
  "hsl": {
    "h": 204.173,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.1165,
    "h": 242.7
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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