#2B7AB8#2B7AB8

#2B7AB8 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.122 H 246.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2B7AB8
RGBrgb(43, 122, 184)
HSLhsl(206, 62%, 45%)
HSVhsv(206, 77%, 72%)
CMYKcmyk(76.6%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.36, -2.23, -39.43)
CIE-LCHlch(49.36, 39.49, 266.76°)
OKLaboklab(56.16% -0.0491 -0.112)
OKLCHoklch(56.16% 0.122 246.3)
XYZxyz(16.6042, 17.8914, 47.9164)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7AB8 #B8692B
analogous
#2BB8B0 #2B7AB8 #2B33B8
triadic
#2B7AB8 #B82B7A #7AB82B
tetradic
#2B7AB8 #B02BB8 #B8692B #33B82B
square
#2B7AB8 #B02BB8 #B8692B #33B82B
split-complementary
#2B7AB8 #B82B33 #B8B02B
monochromatic
#143855 #1F5986 #2B7AB8 #4B98D5 #7DB5E1

Accessibility & contrast

On white

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

On black

4.58
#2B7AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7AB8#FFFFFF#000000##FFFFFF
##2B7AB81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBB
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b7ab8;
/* rgb */ color: rgb(43, 122, 184);
/* oklch */ color: oklch(56.2% 0.122 246.3);
Tailwind
colors: {
  custom: {
    50: '#79a0cd',
    500: '#2b7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2b7ab8;
$custom-light: #79a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7ab8",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 206.383,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.12228,
    "h": 246.3
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#2B7AB8
secondary
#C99A76
accent
#8A43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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