#2B7EAB#2B7EAB

#2B7EAB is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.104 H 236.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B7EAB
RGBrgb(43, 126, 171)
HSLhsl(201, 60%, 42%)
HSVhsv(201, 75%, 67%)
CMYKcmyk(74.9%, 26.3%, 0%, 32.9%)
CIE-LABlab(49.95, -9.30, -31.00)
CIE-LCHlch(49.95, 32.36, 253.30°)
OKLaboklab(56.42% -0.057 -0.0874)
OKLCHoklch(56.42% 0.104 236.9)
XYZxyz(15.8049, 18.3737, 41.2337)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EAB #AB582B
analogous
#2BAB98 #2B7EAB #2B3EAB
triadic
#2B7EAB #AB2B7E #7EAB2B
tetradic
#2B7EAB #982BAB #AB582B #3EAB2B
square
#2B7EAB #982BAB #AB582B #3EAB2B
split-complementary
#2B7EAB #AB2B3E #AB982B
monochromatic
#123649 #1F5A7A #2B7EAB #439ED0 #74B8DC

Accessibility & contrast

On white

4.49
#2B7EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2B7EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EAB#FFFFFF#000000##000000
##2B7EAB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7eab;
/* rgb */ color: rgb(43, 126, 171);
/* oklch */ color: oklch(56.4% 0.104 236.9);
Tailwind
colors: {
  custom: {
    50: '#76a3c4',
    500: '#2b7eab',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eab;
$custom-light: #76a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eab",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 201.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.10438,
    "h": 236.9
  },
  "luminance": 0.18376
}

Semantic roles & 50–950 ramp

primary
#2B7EAB
secondary
#C48C6E
accent
#7C45E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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