#2B7DAB#2B7DAB

#2B7DAB is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.105 H 237.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2B7DAB
RGBrgb(43, 125, 171)
HSLhsl(202, 60%, 42%)
HSVhsv(202, 75%, 67%)
CMYKcmyk(74.9%, 26.9%, 0%, 32.9%)
CIE-LABlab(49.64, -8.72, -31.47)
CIE-LCHlch(49.64, 32.66, 254.51°)
OKLaboklab(56.17% -0.056 -0.0888)
OKLCHoklch(56.17% 0.105 237.8)
XYZxyz(15.6777, 18.1193, 41.1913)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7DAB #AB592B
analogous
#2BAB99 #2B7DAB #2B3DAB
triadic
#2B7DAB #AB2B7D #7DAB2B
tetradic
#2B7DAB #992BAB #AB592B #3DAB2B
square
#2B7DAB #992BAB #AB592B #3DAB2B
split-complementary
#2B7DAB #AB2B3D #AB992B
monochromatic
#123649 #1F597A #2B7DAB #439DD0 #74B7DC

Accessibility & contrast

On white

4.54
#2B7DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2B7DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7DAB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7DAB#FFFFFF#000000##000000
##2B7DAB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b7dab;
/* rgb */ color: rgb(43, 125, 171);
/* oklch */ color: oklch(56.2% 0.105 237.8);
Tailwind
colors: {
  custom: {
    50: '#76a2c4',
    500: '#2b7dab',
    950: '#000000',
  },
}
SCSS
$custom: #2b7dab;
$custom-light: #76a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7dab",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 201.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.10502,
    "h": 237.8
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#2B7DAB
secondary
#C48D6E
accent
#7E45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2B7DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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