#2B7EB3#2B7EB3

#2B7EB3 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.113 H 241.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2B7EB3
RGBrgb(43, 126, 179)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 70%)
CMYKcmyk(76%, 29.6%, 0%, 29.8%)
CIE-LABlab(50.32, -6.43, -35.04)
CIE-LCHlch(50.32, 35.62, 259.60°)
OKLaboklab(56.84% -0.0544 -0.0992)
OKLCHoklch(56.84% 0.113 241.3)
XYZxyz(16.5906, 18.6880, 45.3718)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB3 #B3602B
analogous
#2BB3A4 #2B7EB3 #2B3AB3
triadic
#2B7EB3 #B32B7E #7EB32B
tetradic
#2B7EB3 #A42BB3 #B3602B #3AB32B
square
#2B7EB3 #A42BB3 #B3602B #3AB32B
split-complementary
#2B7EB3 #B32B3A #B3A42B
monochromatic
#133950 #1F5B82 #2B7EB3 #489DD3 #79B7DF

Accessibility & contrast

On white

4.43
#2B7EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2B7EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EB3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EB3#FFFFFF#000000##000000
##2B7EB31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB5
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7eb3;
/* rgb */ color: rgb(43, 126, 179);
/* oklch */ color: oklch(56.8% 0.113 241.3);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2b7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb3;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb3",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 203.382,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.11309,
    "h": 241.3
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#2B7EB3
secondary
#C79473
accent
#8243E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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