#2B7CAB#2B7CAB

#2B7CAB is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.106 H 238.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2B7CAB
RGBrgb(43, 124, 171)
HSLhsl(202, 60%, 42%)
HSVhsv(202, 75%, 67%)
CMYKcmyk(74.9%, 27.5%, 0%, 32.9%)
CIE-LABlab(49.33, -8.14, -31.95)
CIE-LCHlch(49.33, 32.97, 255.70°)
OKLaboklab(55.93% -0.055 -0.0902)
OKLCHoklch(55.93% 0.106 238.6)
XYZxyz(15.5517, 17.8674, 41.1493)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7CAB #AB5A2B
analogous
#2BAB9A #2B7CAB #2B3CAB
triadic
#2B7CAB #AB2B7C #7CAB2B
tetradic
#2B7CAB #9A2BAB #AB5A2B #3CAB2B
square
#2B7CAB #9A2BAB #AB5A2B #3CAB2B
split-complementary
#2B7CAB #AB2B3C #AB9A2B
monochromatic
#123549 #1F597A #2B7CAB #439CD0 #74B6DC

Accessibility & contrast

On white

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

On black

4.57
#2B7CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7CAB#FFFFFF#000000##FFFFFF
##2B7CAB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667CAD
Deuteranopia (green-blind)
#5470AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b7cab;
/* rgb */ color: rgb(43, 124, 171);
/* oklch */ color: oklch(55.9% 0.106 238.6);
Tailwind
colors: {
  custom: {
    50: '#76a1c4',
    500: '#2b7cab',
    950: '#000000',
  },
}
SCSS
$custom: #2b7cab;
$custom-light: #76a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7cab",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 202.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.10568,
    "h": 238.6
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#2B7CAB
secondary
#C48E6E
accent
#7F45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2B7CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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