#2B7AB5#2B7AB5

#2B7AB5 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.119 H 245.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2B7AB5
RGBrgb(43, 122, 181)
HSLhsl(206, 62%, 44%)
HSVhsv(206, 76%, 71%)
CMYKcmyk(76.2%, 32.6%, 0%, 29%)
CIE-LABlab(49.21, -3.33, -37.94)
CIE-LCHlch(49.21, 38.08, 264.98°)
OKLaboklab(55.99% -0.0499 -0.1076)
OKLCHoklch(55.99% 0.119 245.1)
XYZxyz(16.2931, 17.7669, 46.2778)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7AB5 #B5662B
analogous
#2BB5AB #2B7AB5 #2B35B5
triadic
#2B7AB5 #B52B7A #7AB52B
tetradic
#2B7AB5 #AB2BB5 #B5662B #35B52B
square
#2B7AB5 #AB2BB5 #B5662B #35B52B
split-complementary
#2B7AB5 #B52B35 #B5AB2B
monochromatic
#143752 #1F5984 #2B7AB5 #4999D4 #7BB5E0

Accessibility & contrast

On white

4.61
#2B7AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2B7AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7AB5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7AB5#FFFFFF#000000##FFFFFF
##2B7AB51.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#4B6FB4
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b7ab5;
/* rgb */ color: rgb(43, 122, 181);
/* oklch */ color: oklch(56.0% 0.119 245.1);
Tailwind
colors: {
  custom: {
    50: '#78a0cb',
    500: '#2b7ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2b7ab5;
$custom-light: #78a0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7ab5",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 181
  },
  "hsl": {
    "h": 205.652,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.11867,
    "h": 245.1
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#2B7AB5
secondary
#C89874
accent
#8843E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B7AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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