#2B7EB8#2B7EB8

#2B7EB8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.119 H 243.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B7EB8
RGBrgb(43, 126, 184)
HSLhsl(205, 62%, 45%)
HSVhsv(205, 77%, 72%)
CMYKcmyk(76.6%, 31.5%, 0%, 27.8%)
CIE-LABlab(50.56, -4.61, -37.54)
CIE-LCHlch(50.56, 37.82, 262.99°)
OKLaboklab(57.11% -0.0528 -0.1064)
OKLCHoklch(57.11% 0.119 243.6)
XYZxyz(17.1055, 18.8940, 48.0835)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB8 #B8652B
analogous
#2BB8AC #2B7EB8 #2B37B8
triadic
#2B7EB8 #B82B7E #7EB82B
tetradic
#2B7EB8 #AC2BB8 #B8652B #37B82B
square
#2B7EB8 #AC2BB8 #B8652B #37B82B
split-complementary
#2B7EB8 #B82B37 #B8AC2B
monochromatic
#143A55 #1F5C86 #2B7EB8 #4B9CD5 #7DB8E1

Accessibility & contrast

On white

4.39
#2B7EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2B7EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EB8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EB8#FFFFFF#000000##000000
##2B7EB81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7eb8;
/* rgb */ color: rgb(43, 126, 184);
/* oklch */ color: oklch(57.1% 0.119 243.6);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2b7eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb8;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb8",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 204.681,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.11881,
    "h": 243.6
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#2B7EB8
secondary
#C99876
accent
#8543E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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