#2B7AAA#2B7AAA

#2B7AAA is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.106 H 239.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B7AAA
RGBrgb(43, 122, 170)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(74.7%, 28.2%, 0%, 33.3%)
CIE-LABlab(48.68, -7.33, -32.40)
CIE-LCHlch(48.68, 33.22, 257.25°)
OKLaboklab(55.39% -0.0534 -0.0915)
OKLCHoklch(55.39% 0.106 239.7)
XYZxyz(15.2087, 17.3332, 40.5665)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7AAA #AA5B2B
analogous
#2BAA9B #2B7AAA #2B3BAA
triadic
#2B7AAA #AA2B7A #7AAA2B
tetradic
#2B7AAA #9B2BAA #AA5B2B #3BAA2B
square
#2B7AAA #9B2BAA #AA5B2B #3BAA2B
split-complementary
#2B7AAA #AA2B3B #AA9B2B
monochromatic
#123448 #1F5779 #2B7AAA #439ACF #74B4DC

Accessibility & contrast

On white

4.70
#2B7AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2B7AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7AAA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7AAA#FFFFFF#000000##FFFFFF
##2B7AAA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAC
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b7aaa;
/* rgb */ color: rgb(43, 122, 170);
/* oklch */ color: oklch(55.4% 0.106 239.7);
Tailwind
colors: {
  custom: {
    50: '#76a0c3',
    500: '#2b7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2b7aaa;
$custom-light: #76a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7aaa",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 202.677,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.10597,
    "h": 239.7
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#2B7AAA
secondary
#C38E6E
accent
#8145E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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