#2B7EB7#2B7EB7

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

Color values

HEX#2B7EB7
RGBrgb(43, 126, 183)
HSLhsl(204, 62%, 44%)
HSVhsv(204, 77%, 72%)
CMYKcmyk(76.5%, 31.1%, 0%, 28.2%)
CIE-LABlab(50.51, -4.98, -37.04)
CIE-LCHlch(50.51, 37.37, 262.34°)
OKLaboklab(57.05% -0.0531 -0.105)
OKLCHoklch(57.05% 0.118 243.2)
XYZxyz(17.0010, 18.8522, 47.5334)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB7 #B7642B
analogous
#2BB7AA #2B7EB7 #2B38B7
triadic
#2B7EB7 #B72B7E #7EB72B
tetradic
#2B7EB7 #AA2BB7 #B7642B #38B72B
square
#2B7EB7 #AA2BB7 #B7642B #38B72B
split-complementary
#2B7EB7 #B72B38 #B7AA2B
monochromatic
#143A54 #1F5C85 #2B7EB7 #4B9CD5 #7CB7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7EB7#FFFFFF#000000##000000
##2B7EB71.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)
#647FB9
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7eb7;
/* rgb */ color: rgb(43, 126, 183);
/* oklch */ color: oklch(57.1% 0.118 243.2);
Tailwind
colors: {
  custom: {
    50: '#78a3cd',
    500: '#2b7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb7;
$custom-light: #78a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb7",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 204.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.11765,
    "h": 243.2
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#2B7EB7
secondary
#C99775
accent
#8543E5
background
#F7FAFC
surface
#EEF3F9
border
#C9CDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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