#2B7E9D#2B7E9D

#2B7E9D is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.091 H 227.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2B7E9D
RGBrgb(43, 126, 157)
HSLhsl(196, 57%, 39%)
HSVhsv(196, 73%, 62%)
CMYKcmyk(72.6%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.34, -14.21, -23.80)
CIE-LCHlch(49.34, 27.72, 239.17°)
OKLaboklab(55.73% -0.0621 -0.0667)
OKLCHoklch(55.73% 0.091 227)
XYZxyz(14.5404, 17.8680, 34.5743)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E9D #9D4A2B
analogous
#2B9D83 #2B7E9D #2B459D
triadic
#2B7E9D #9D2B7E #7E9D2B
tetradic
#2B7E9D #832B9D #9D4A2B #459D2B
square
#2B7E9D #832B9D #9D4A2B #459D2B
split-complementary
#2B7E9D #9D2B45 #9D832B
monochromatic
#11313D #1E576D #2B7E9D #3CA3CA #6CBAD7

Accessibility & contrast

On white

4.59
#2B7E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2B7E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E9D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E9D#FFFFFF#000000##FFFFFF
##2B7E9D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7C9F
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b7e9d;
/* rgb */ color: rgb(43, 126, 157);
/* oklch */ color: oklch(55.7% 0.091 227.0);
Tailwind
colors: {
  custom: {
    50: '#74a3ba',
    500: '#2b7e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e9d;
$custom-light: #74a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e9d",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 196.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.09115,
    "h": 227
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#2B7E9D
secondary
#BD7E66
accent
#7148E0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2B7E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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