#2B7CAA#2B7CAA

#2B7CAA is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.105 H 238.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2B7CAA
RGBrgb(43, 124, 170)
HSLhsl(202, 60%, 42%)
HSVhsv(202, 75%, 67%)
CMYKcmyk(74.7%, 27.1%, 0%, 33.3%)
CIE-LABlab(49.29, -8.50, -31.44)
CIE-LCHlch(49.29, 32.57, 254.87°)
OKLaboklab(55.88% -0.0554 -0.0887)
OKLCHoklch(55.88% 0.105 238)
XYZxyz(15.4568, 17.8294, 40.6492)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7CAA #AA592B
analogous
#2BAA99 #2B7CAA #2B3DAA
triadic
#2B7CAA #AA2B7C #7CAA2B
tetradic
#2B7CAA #992BAA #AA592B #3DAA2B
square
#2B7CAA #992BAA #AA592B #3DAA2B
split-complementary
#2B7CAA #AA2B3D #AA992B
monochromatic
#123548 #1F5879 #2B7CAA #439CCF #74B6DC

Accessibility & contrast

On white

4.60
#2B7CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7CAA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7CAA#FFFFFF#000000##FFFFFF
##2B7CAA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b7caa;
/* rgb */ color: rgb(43, 124, 170);
/* oklch */ color: oklch(55.9% 0.105 238.0);
Tailwind
colors: {
  custom: {
    50: '#76a1c3',
    500: '#2b7caa',
    950: '#000000',
  },
}
SCSS
$custom: #2b7caa;
$custom-light: #76a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7caa",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 201.732,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.10461,
    "h": 238
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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