#2B6787#2B6787

#2B6787 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.080 H 235.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2B6787
RGBrgb(43, 103, 135)
HSLhsl(201, 52%, 35%)
HSVhsv(201, 68%, 53%)
CMYKcmyk(68.1%, 23.7%, 0%, 47.1%)
CIE-LABlab(41.16, -8.62, -23.41)
CIE-LCHlch(41.16, 24.95, 249.79°)
OKLaboklab(48.89% -0.0458 -0.0657)
OKLCHoklch(48.89% 0.08 235.1)
XYZxyz(10.2180, 11.9623, 24.6874)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6787 #874B2B
analogous
#2B8779 #2B6787 #2B3987
triadic
#2B6787 #872B67 #67872B
tetradic
#2B6787 #792B87 #874B2B #39872B
square
#2B6787 #792B87 #874B2B #39872B
split-complementary
#2B6787 #872B39 #87792B
monochromatic
#0D202A #1C4459 #2B6787 #3A8AB5 #60A7CC

Accessibility & contrast

On white

6.19
#2B6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6787
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6787#FFFFFF#000000##FFFFFF
##2B67871.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b6787;
/* rgb */ color: rgb(43, 103, 135);
/* oklch */ color: oklch(48.9% 0.080 235.1);
Tailwind
colors: {
  custom: {
    50: '#6f92aa',
    500: '#2b6787',
    950: '#000000',
  },
}
SCSS
$custom: #2b6787;
$custom-light: #6f92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6787",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 200.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.08013,
    "h": 235.1
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#2B6787
secondary
#B27A5B
accent
#7E4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2B6787

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

Preview Lab → · Contrast checker → · Palette generator →

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